summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2020-06-02 23:06:26 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-06-03 15:35:41 +0300
commitba403242615c2c99e27af7984b1650771a2cc2c9 (patch)
tree2ff5286a10c6b634790f834d6b5949e84d22ac63 /fs
parent11d8da5cabf7c6c3263ba2cd9c00260395867048 (diff)
downloadlinux-ba403242615c2c99e27af7984b1650771a2cc2c9.tar.xz
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: 26d8cde5260b ("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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions