[PATCH v7 09/15] gpio: pl061: set initcall level to module init

Linus Walleij linus.walleij at linaro.org
Tue Jan 22 04:45:01 EST 2013


On Fri, Jan 18, 2013 at 8:31 AM, Haojian Zhuang
<haojian.zhuang at linaro.org> wrote:

> Replace subsys initcall by module initcall level. Since pinctrl
> driver is already launched before gpio driver. It's unnecessary
> to set gpio driver in subsys init call level.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang at linaro.org>

OK some consensus that this works, and moving initcalls to module_init()
should be encouraged, so applied this and thrown at linux-next for
testing. No pain no gain.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list