alistair23-linux/drivers/pinctrl/sirf
Wei Chen 627b1516a3 pinctrl: atlas7: clear ugly branch statements for pull and drivestrength
To set/get atlas7 pull & drive strength, we use lots of if/else
to check pad type. But except mask value or immediate value, all
actions in these conditional branches are the same.
So we use predefined pull info table and drive strength table
to reduce these redundancy code.

Signed-off-by: Wei Chen <Wei.Chen@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-08-13 14:37:21 +02:00
..
Makefile pinctrl: sirf: add sirf atlas7 pinctrl and gpio support 2015-05-19 16:01:30 +02:00
pinctrl-atlas6.c pinctrl: atlas6: Add I2S external clock input pingroup 2014-08-29 08:42:13 +02:00
pinctrl-atlas7.c pinctrl: atlas7: clear ugly branch statements for pull and drivestrength 2015-08-13 14:37:21 +02:00
pinctrl-prima2.c pinctrl: prima2: add I2S 2ch, 6ch, nodin, mclk groups 2014-09-04 19:07:19 +02:00
pinctrl-sirf.c pinctrl/sirf: Prepare xxx_gpio-handle_irq for irq argument removal 2015-07-17 21:56:22 +02:00
pinctrl-sirf.h pinctrl: sirf: drop marco support 2015-01-14 14:21:54 +01:00