[PATCH] PM / Domains: Change prototype for the ->attach_dev() callback

Geert Uytterhoeven geert at linux-m68k.org
Sat Nov 15 03:32:00 PST 2014


Hi Rafael,

On Sat, Nov 15, 2014 at 12:48 AM, Rafael J. Wysocki <rjw at rjwysocki.net> wrote:
>> Subject: [PATCH] PM / Domains: Change prototype for the attach and detach
>>  callbacks
>>
>> Convert the prototypes to return an int in order to support error
>> handling in these callbacks.
>>
>> Also, as suggested by Dmitry Torokhov, pass the domain pointer for use
>> inside the callbacks, and so that they match the existing
>> power_on/power_off callbacks which currently take the domain pointer.
>>
>> Acked-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
>> [khilman: added domain as parameter to callbacks, as suggested by Dmitry]
>> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
>> Signed-off-by: Kevin Hilman <khilman at linaro.org>
>
> That's in the Linus' tree now.

Thank you very much.

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



More information about the linux-arm-kernel mailing list