diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-13 21:21:25 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-12-29 04:02:46 +0300 |
commit | b7f44e1249cc2831600802bd43474c75f75a9e0c (patch) | |
tree | 0e3b963786d05428c4422b550ee61217b63881c5 /drivers/pinctrl/pinctrl-da850-pupd.c | |
parent | df72b4a692b60d3e5d99d9ef662b2d03c44bb9c0 (diff) | |
download | linux-b7f44e1249cc2831600802bd43474c75f75a9e0c.tar.xz |
pinctrl: da850-pupd: Drop empty platform remove function
A remove callback just returning 0 is equivalent to no remove callback
at all. So drop the useless function.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20221213182125.929303-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-da850-pupd.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-da850-pupd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pinctrl/pinctrl-da850-pupd.c b/drivers/pinctrl/pinctrl-da850-pupd.c index 5a0a1f20c843..5eb248663e17 100644 --- a/drivers/pinctrl/pinctrl-da850-pupd.c +++ b/drivers/pinctrl/pinctrl-da850-pupd.c @@ -173,11 +173,6 @@ static int da850_pupd_probe(struct platform_device *pdev) return 0; } -static int da850_pupd_remove(struct platform_device *pdev) -{ - return 0; -} - static const struct of_device_id da850_pupd_of_match[] = { { .compatible = "ti,da850-pupd" }, { } @@ -190,7 +185,6 @@ static struct platform_driver da850_pupd_driver = { .of_match_table = da850_pupd_of_match, }, .probe = da850_pupd_probe, - .remove = da850_pupd_remove, }; module_platform_driver(da850_pupd_driver); |