[PATCH] i2c: sirf: get the i2c pin group by pinctrl api
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>
This is done by the device core as of commit
"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.
More information about the linux-arm-kernel