diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-13 19:23:22 +0100 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2022-12-29 02:03:51 +0100 |
| commit | f3cd465bbd15960f30668c7b4a2ac18a0708bc39 (patch) | |
| tree | 3cb88d2a0cc8b778a1cbfb49079ef5413097c40e | |
| parent | b7f44e1249cc2831600802bd43474c75f75a9e0c (diff) | |
| download | linux-f3cd465bbd15960f30668c7b4a2ac18a0708bc39.tar.gz linux-f3cd465bbd15960f30668c7b4a2ac18a0708bc39.tar.bz2 linux-f3cd465bbd15960f30668c7b4a2ac18a0708bc39.zip | |
pinctrl: thunderbay: 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/20221213182322.962345-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
| -rw-r--r-- | drivers/pinctrl/pinctrl-thunderbay.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pinctrl/pinctrl-thunderbay.c b/drivers/pinctrl/pinctrl-thunderbay.c index 590bbbf619af..7a5ff955877c 100644 --- a/drivers/pinctrl/pinctrl-thunderbay.c +++ b/drivers/pinctrl/pinctrl-thunderbay.c @@ -1278,19 +1278,12 @@ static int thunderbay_pinctrl_probe(struct platform_device *pdev) return 0; } -static int thunderbay_pinctrl_remove(struct platform_device *pdev) -{ - /* thunderbay_pinctrl_remove function to clear the assigned memory */ - return 0; -} - static struct platform_driver thunderbay_pinctrl_driver = { .driver = { .name = "thunderbay-pinctrl", .of_match_table = thunderbay_pinctrl_match, }, .probe = thunderbay_pinctrl_probe, - .remove = thunderbay_pinctrl_remove, }; builtin_platform_driver(thunderbay_pinctrl_driver); |
