[PATCH] staging: board: Set PM domain before probe

Geert Uytterhoeven geert at linux-m68k.org
Tue Oct 27 14:55:51 UTC 2015


On Tue, Oct 27, 2015 at 3:27 PM, Tomeu Vizoso
<tomeu.vizoso at collabora.com> wrote:
> PM domains shouldn't be modified after a device is probed, so set it
> before device registration to be sure of that.
>
> In the future the PM domain pointer will be set through a setter that
> will WARN if the device has been probed already.
>
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
> Cc: Geert Uytterhoeven <geert+renesas at glider.be>

Tested-by: Geert Uytterhoeven <geert+renesas at glider.be>

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 devel mailing list