# Re: \[PATCH\] pinctrl: pxa: pxa2xx: Remove 'pxa2xx\_pinctrl\_exit()' which is unused and broken

- From: Linus Walleij \<hidden\>
- Date: 2020-06-03 22:06:12 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2020/06/5988771
- Thread: https://ratatoskr.run/linux-arm-kernel/2020/05/5984579/t.md

```text
On Sun, May 31, 2020 at 9:37 AM Christophe JAILLET
[ref] wrote:

> Commit 6d33ee7a0534 ("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.
>
> Signed-off-by: Christophe JAILLET <redacted>

Patch applied.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
