]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: nomadik: hide unused functions
authorArnd Bergmann <arnd@arndb.de>
Mon, 25 Jan 2016 15:59:09 +0000 (16:59 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Jan 2016 10:36:00 +0000 (11:36 +0100)
commit0760eddd80c9ace568d5a97a558cd6943e17a8ca
tree6e3b6929887814dcb9058365b5c2c1c53cb05936
parent20ff9ca4877d5902ac0d267fc46efc1c44a8be15
pinctrl: nomadik: hide unused functions

The nomadik pinctrl driver has two functions that are only used
for debugfs output and are otherwise unused:

drivers/pinctrl/nomadik/pinctrl-abx500.c:194:12: error: 'abx500_get_pull_updown' defined but not used
drivers/pinctrl/nomadik/pinctrl-abx500.c:471:12: error: 'abx500_get_mode' defined but not used

This makes the function definitions conditional to avoid the
harmless warnings.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nomadik/pinctrl-abx500.c