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.