]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b97b9e9f85791c190d670682007d72be9d7cec8
treeadfd53c0b325b26b54c214b488f11603a9156628
parent1731dcb67e24c89c488674fbce4b9537a3b14426
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