]> git.karo-electronics.de Git - linux-beck.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)
commit39178bb2b3e78cfcb9b6311fa9e2b8d6e3cfe51f
tree6e3b6929887814dcb9058365b5c2c1c53cb05936
parent3a5242e648a8d009f0e0fd47867592e5265374b6
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