]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 31 May 2020 07:37:16 +0000 (09:37 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Jun 2020 22:05:13 +0000 (00:05 +0200)
commit19cb133aa54c959c4c28eb559bcc533f0732feb1
tree4b23c6f049fa1f113aa1d1d03a8f996ffc46cf64
parentf3a76b52553c3a3d9ae83371eb6bf590c7f35d3e
pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken

Commit b04ac1d8727d ("pinctrl: pxa: Use devm_pinctrl_register() for pinctrl registration")
has turned a 'pinctrl_register()' into 'devm_pinctrl_register()' in
'pxa2xx_pinctrl_init()'.
However, the corresponding 'pinctrl_unregister()' call in
'pxa2xx_pinctrl_exit()' has not been removed.

This is not an issue, because 'pxa2xx_pinctrl_exit()' is unused.
Remove it now to avoid some wondering in the future and save a few LoC.

Fixes: b04ac1d8727d ("pinctrl: pxa: Use devm_pinctrl_register() for pinctrl registration")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Link: https://lore.kernel.org/r/20200531073716.593343-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pxa/pinctrl-pxa2xx.c