[PATCH] pinctrl: nomadik: hide unused functions
Linus Walleij
linus.walleij at linaro.org
Thu Jan 28 02:36:31 PST 2016
On Mon, Jan 25, 2016 at 4:59 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> 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 at arndb.de>
Patch applied for fixes.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list