pinctrl: ab8505: Define group for GPIO pin 50
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 28 Apr 2020 09:38:12 +0000 (11:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 28 Apr 2020 14:32:57 +0000 (16:32 +0200)
commit767972b9b4edf3f8386cfe05b798b291ff438613
treeadfd53c0b325b26b54c214b488f11603a9156628
parent0320d260a7e730f1a85c49764ad8d8c41a8512ec
pinctrl: ab8505: Define group for GPIO pin 50

The Hulk robot reports an usused varible:

drivers/pinctrl/nomadik/pinctrl-ab8505.c:137:23: warning:
‘gpio50_a_1_pins’ defined but not used [-Wunused-const-variable=]
 static const unsigned gpio50_a_1_pins[] = { AB8505_PIN_L4 };
                       ^~~~~~~~~~~~~~~

This variable actually should be used. Probably an oversight
by the driver author.

Cc: Patrice Chotard <patrice.chotard@st.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Reported-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nomadik/pinctrl-ab8505.c