diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-02-24 09:14:07 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-20 22:02:17 (GMT) |
commit | a4b0f4571c7438cbc11f088d57d6a5ef3e60e3cb (patch) | |
tree | f3a17eab61b2bcb21afd11e126a552f5339f04a8 /drivers/pinctrl/freescale/pinctrl-imx6ul.c | |
parent | 7e73f819054c5da0203a4faf446c9776a4ca0f75 (diff) | |
download | linux-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-imx6ul.c')
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx6ul.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6ul.c b/drivers/pinctrl/freescale/pinctrl-imx6ul.c index 78627c7..c707fdd 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6ul.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6ul.c @@ -303,7 +303,6 @@ static struct platform_driver imx6ul_pinctrl_driver = { .of_match_table = of_match_ptr(imx6ul_pinctrl_of_match), }, .probe = imx6ul_pinctrl_probe, - .remove = imx_pinctrl_remove, }; static int __init imx6ul_pinctrl_init(void) |