summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale/pinctrl-imx6q.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-02-24 12:14:07 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-04-21 01:02:17 +0300
commita4b0f4571c7438cbc11f088d57d6a5ef3e60e3cb (patch)
treef3a17eab61b2bcb21afd11e126a552f5339f04a8 /drivers/pinctrl/freescale/pinctrl-imx6q.c
parent7e73f819054c5da0203a4faf446c9776a4ca0f75 (diff)
downloadlinux-a4b0f4571c7438cbc11f088d57d6a5ef3e60e3cb.tar.xz
pinctrl: imx: Use devm_pinctrl_register() for pinctrl registration
Use devm_pinctrl_register() for pin control registration and remove need of .remove callback. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Stefan Agner <stefan@agner.ch> Cc: Adrian Alonso <aalonso@freescale.com> Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx6q.c')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx6q.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6q.c b/drivers/pinctrl/freescale/pinctrl-imx6q.c
index 7d50a36b1086..55cd8a0e367d 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx6q.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx6q.c
@@ -483,7 +483,6 @@ static struct platform_driver imx6q_pinctrl_driver = {
.of_match_table = imx6q_pinctrl_of_match,
},
.probe = imx6q_pinctrl_probe,
- .remove = imx_pinctrl_remove,
};
static int __init imx6q_pinctrl_init(void)