[PATCH] i2c: sirf: get the i2c pin group by pinctrl api
Linus Walleij
linus.walleij at linaro.org
Wed Mar 27 06:20:28 EDT 2013
On Mon, Mar 18, 2013 at 8:22 AM, Barry Song <Barry.Song at csr.com> wrote:
> From: Barry Song <Baohua.Song at csr.com>
>
> hardcode set i2c pin group to i2c function before, here we
> move to use standard pinctrl API to get pins of the group.
>
> Signed-off-by: Barry Song <Baohua.Song at csr.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
NAK.
This is done by the device core as of commit
ab78029ecc347debbd737f06688d788bd9d60c1d
"drivers/pinctrl: grab default handles from device core".
You only need to fetch pinctrl handles in drivers if you're
using anything else than the default state.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list