pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 30 May 2020 20:19:52 +0000 (22:19 +0200)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:38:28 +0000 (15:38 -0400)
commitc2f9a6bc4582811b2edba16d96a9f7ee10c6114e
tree6c5a92c148021844111305388e80e396d31d9e3c
parentfbffea5caf01cd8d55f0e44b5644a4ac4f67b4da
pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'

[ Upstream commit 9eb728321286c4b31e964d2377fca2368526d408 ]

When 'pinctrl_register()' has been turned into 'devm_pinctrl_register()',
an error handling path has not been updated.

Axe a now unneeded 'pinctrl_unregister()'.

Fixes: e55e025d1687 ("pinctrl: imxl: Use devm_pinctrl_register() for pinctrl registration")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20200530201952.585798-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/freescale/pinctrl-imx1-core.c