pinctrl: sunxi: Replace hardcoded pin defines by a macro
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 24 Apr 2014 14:06:52 +0000 (16:06 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 4 May 2014 06:59:44 +0000 (23:59 -0700)
commitd10acc635330d6089601fd01d482ecda32e02c45
tree5d48acde26c134d982d3fa4da83f1e3f8684301e
parent5f9107774fc81eb7a33ac7a2c296523ce5fbb14a
pinctrl: sunxi: Replace hardcoded pin defines by a macro

We previously had an evergrowing (and exhaustive) list of the pins that could
be used on any Allwinner SoCs. These defines were then used by each pinctrl
driver to declare the list of functions for this pin. Since it's pretty much
all boilerplate, we can remove it just by a single macro.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/pinctrl/sunxi/pinctrl-sunxi-pins.h
drivers/pinctrl/sunxi/pinctrl-sunxi.h