linux_dsm_epyc7002/drivers/pinctrl/freescale
Christophe JAILLET ba40324261 pinctrl: freescale: imx: Use 'devm_of_iomap()' to avoid a resource leak in case of error in 'imx_pinctrl_probe()'
Use 'devm_of_iomap()' instead 'of_iomap()' to avoid a resource leak in
case of error.

Update the error handling code accordingly.

Fixes: 26d8cde526 ("pinctrl: freescale: imx: add shared input select reg support")
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200602200626.677981-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-06-03 14:35:41 +02:00
..
Kconfig pinctrl: imx: Add imx8dxl driver 2020-04-16 14:21:22 +02:00
Makefile pinctrl: imx: Add imx8dxl driver 2020-04-16 14:21:22 +02:00
pinctrl-imx1-core.c pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()' 2020-06-03 14:30:49 +02:00
pinctrl-imx1.c
pinctrl-imx1.h
pinctrl-imx6dl.c
pinctrl-imx6q.c
pinctrl-imx6sl.c
pinctrl-imx6sll.c
pinctrl-imx6sx.c
pinctrl-imx6ul.c
pinctrl-imx7d.c
pinctrl-imx7ulp.c
pinctrl-imx8dxl.c pinctrl: imx: Add imx8dxl driver 2020-04-16 14:21:22 +02:00
pinctrl-imx8mm.c
pinctrl-imx8mn.c pinctrl: freescale: Add i.MX8MN pinctrl driver support 2019-06-25 10:40:23 +02:00
pinctrl-imx8mp.c pinctrl: freescale: Add i.MX8MP pinctrl driver support 2020-01-23 15:49:39 +01:00
pinctrl-imx8mq.c
pinctrl-imx8qm.c
pinctrl-imx8qxp.c
pinctrl-imx21.c
pinctrl-imx23.c
pinctrl-imx25.c
pinctrl-imx27.c
pinctrl-imx28.c
pinctrl-imx35.c
pinctrl-imx50.c
pinctrl-imx51.c
pinctrl-imx53.c
pinctrl-imx.c pinctrl: freescale: imx: Use 'devm_of_iomap()' to avoid a resource leak in case of error in 'imx_pinctrl_probe()' 2020-06-03 14:35:41 +02:00
pinctrl-imx.h
pinctrl-mxs.c pinctrl: freescale: mxs: Add of_node_put() before return 2019-08-06 14:52:24 +02:00
pinctrl-mxs.h
pinctrl-scu.c pinctrl: imx: scu: Align imx sc msg structs to 4 2020-02-21 16:33:27 +01:00
pinctrl-vf610.c