]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: sunxi: Rework the pin config building code
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 11 Oct 2016 15:45:59 +0000 (17:45 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Oct 2016 14:30:14 +0000 (16:30 +0200)
commitf233dbca6227703eaae2f67d6d9c79819773f16b
treefefa356d6c61252cfe79c5269742f1cf69ea4701
parent07d9a380680d1c0eb51ef87ff2eab5c994949e69
pinctrl: sunxi: Rework the pin config building code

In order to support more easily the generic pinctrl properties, rework the
pinctrl maps configuration and split it into several sub-functions.

One of the side-effects from that rework is that we only parse the pin
configuration once, since it's going to be common to every pin, instead of
having to parsing once for each pin.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.c