linux/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: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx1.h pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6dl.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6q.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6sl.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6sll.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6sx.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6ul.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx7d.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx7ulp.c pinctrl: fsl: imx7ulp: change to use imx legacy binding 2018-11-09 10:54:29 +01:00
pinctrl-imx8dxl.c pinctrl: imx: Add imx8dxl driver 2020-04-16 14:21:22 +02:00
pinctrl-imx8mm.c pinctrl: freescale: Add imx8mm pinctrl driver support 2019-01-30 10:35:22 +01:00
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: imx8mq: Add suspend/resume ops 2019-04-11 15:41:43 +02:00
pinctrl-imx8qm.c pinctrl: imx: add imx8qm driver 2019-01-11 09:25:01 +01:00
pinctrl-imx8qxp.c pinctrl: imx: add imx8qxp driver 2018-11-05 09:33:32 +01:00
pinctrl-imx21.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx23.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx25.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx27.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx28.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx35.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx50.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx51.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx53.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
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: imx8mq: Add suspend/resume ops 2019-04-11 15:41:43 +02:00
pinctrl-mxs.c pinctrl: freescale: mxs: Add of_node_put() before return 2019-08-06 14:52:24 +02:00
pinctrl-mxs.h pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-scu.c pinctrl: imx: scu: Align imx sc msg structs to 4 2020-02-21 16:33:27 +01:00
pinctrl-vf610.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00