[PATCH] i2c: sirf: get the i2c pin group by pinctrl api
Linus Walleij
linus.walleij at linaro.org
Wed Mar 27 11:14:39 EDT 2013
On Wed, Mar 27, 2013 at 11:36 AM, Barry Song <21cnbao at gmail.com> wrote:
> 2013/3/27 Linus Walleij <linus.walleij at linaro.org>:
>> You only need to fetch pinctrl handles in drivers if you're
>> using anything else than the default state.
>
> well. missed this recent commit.
> it should mean we hould drop all devm_pinctrl_get_select_default() if
> the driver only takes the default pinctrl?
Yes.
> it looks like there are still a lot of drivers doing that. anyway, i
> will drop them in SiRFsoc drivers. and involve you in the coming
> patch.
I am meaning to fix that up. Just haven't had time to...
Prior to that patch it was the right thing to do.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list