Thread (10 messages) 10 messages, 4 authors, 2016-01-04

Re: [PATCH] pinctrl: mediatek: convert to arch_initcall

From: Mark Brown <broonie@kernel.org>
Date: 2016-01-04 17:13:18
Also in: linux-arm-kernel, linux-gpio, lkml

On Fri, Jan 01, 2016 at 06:29:15PM +0100, Linus Walleij wrote:
On Fri, Jan 1, 2016 at 3:27 PM, Matthias Brugger [off-list ref] wrote:
quoted
I think what Mark means is, that we define some pinctrl_initcall which
is a macro to subsys_initcall (or arch_initcall or similar). We apply this
to all pinctrl drivers including the one from Mediatek. This way at least
we have a common method and changing the behaviour in the future is
easier to handle.
That would be pinctrl_soc_initcall() in that case. Just pinctrl_initcall()
would assume it's for all drivers and there is a bunch of them that are just
fine with simple device_initcall()s.
OTOH it might be easier to just have an initcall (or fiddle with the
link order) for everything to avoid having to think about which drivers
things apply to.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help