]> git.baikalelectronics.ru Git - kernel.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)
commit8af8a4fe81ad470deadf6f34c4fbf3e8bc38e208
treefefa356d6c61252cfe79c5269742f1cf69ea4701
parent71f83e9de55975751c0c82c8d8af1d67a9298d90
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