aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sunxi/pinctrl-sunxi.c
diff options
context:
space:
mode:
authorGravatar Maxime Ripard <maxime.ripard@free-electrons.com> 2014-04-24 16:06:52 +0200
committerGravatar Maxime Ripard <maxime.ripard@free-electrons.com> 2014-05-03 23:59:44 -0700
commitd10acc635330d6089601fd01d482ecda32e02c45 (patch)
tree5d48acde26c134d982d3fa4da83f1e3f8684301e /drivers/pinctrl/sunxi/pinctrl-sunxi.c
parentpinctrl: sunxi: Move the Allwinner pinctrl driver to its own directory (diff)
downloadlinux-d10acc635330d6089601fd01d482ecda32e02c45.tar.gz
linux-d10acc635330d6089601fd01d482ecda32e02c45.tar.bz2
linux-d10acc635330d6089601fd01d482ecda32e02c45.zip
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>
Diffstat (limited to 'drivers/pinctrl/sunxi/pinctrl-sunxi.c')
0 files changed, 0 insertions, 0 deletions