]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Jun 2020 12:30:49 +0000 (14:30 +0200)
commit982e5b2eacf266e194c511a0fb1c938dbe80881b
treefa0513916a223a16637550214ad86820c5353f28
parent7dec92a3d19567feab8fcd92feaf986e482cb0de
pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'

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: 99c198ebe326 ("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>
drivers/pinctrl/freescale/pinctrl-imx1-core.c