Re: [PATCH 2/4] pinctrl: Remove unsafe __refdata

2011-10-20 Thread Linus Walleij
On Thu, Oct 20, 2011 at 11:46 AM, Barry Song <21cn...@gmail.com> wrote: > 2011/10/20 Stephen Warren : >> A pin controller's pin definitions are used both during pinctrl_register() >> and pinctrl_unregister(). The latter happens outside of __init/__devinit >> time, and hence it is unsafe to mark th

Re: [PATCH 2/4] pinctrl: Remove unsafe __refdata

2011-10-20 Thread Barry Song
2011/10/20 Stephen Warren : > A pin controller's pin definitions are used both during pinctrl_register() > and pinctrl_unregister(). The latter happens outside of __init/__devinit > time, and hence it is unsafe to mark the pin array as __refdata. Thanks. Acked-by: Barry Song missed this when por

Re: [PATCH 2/4] pinctrl: Remove unsafe __refdata

2011-10-20 Thread Linus Walleij
On Thu, Oct 20, 2011 at 12:19 AM, Stephen Warren wrote: > A pin controller's pin definitions are used both during pinctrl_register() > and pinctrl_unregister(). The latter happens outside of __init/__devinit > time, and hence it is unsafe to mark the pin array as __refdata. > > Signed-off-by: Ste

[PATCH 2/4] pinctrl: Remove unsafe __refdata

2011-10-19 Thread Stephen Warren
A pin controller's pin definitions are used both during pinctrl_register() and pinctrl_unregister(). The latter happens outside of __init/__devinit time, and hence it is unsafe to mark the pin array as __refdata. Signed-off-by: Stephen Warren --- drivers/pinctrl/pinmux-sirf.c |2 +- drivers/