Thread (23 messages) 23 messages, 8 authors, 2014-09-26

[PATCH v5 01/11] PM / Domains: Add a detach callback to the struct dev_pm_domain

From: geert@linux-m68k.org (Geert Uytterhoeven)
Date: 2014-09-22 11:15:21
Also in: linux-acpi, linux-devicetree, linux-pm

On Fri, Sep 19, 2014 at 8:27 PM, Ulf Hansson [off-list ref] wrote:
quoted hunk ↗ jump to hunk
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -619,6 +619,7 @@ extern int dev_pm_put_subsys_data(struct device *dev);
  */
 struct dev_pm_domain {
        struct dev_pm_ops       ops;
+       void (*detach)(struct device *, bool);
I think it would help to add the parameter names, especially for
the "bool" parameter:

void (*detach)(struct device *dev, bool power_off);
 };

 /*
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help