diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-12 22:43:52 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-02-22 09:25:52 +0100 |
commit | 58a3fb991ec21e8cba82062be374c67447496e3a (patch) | |
tree | 069e298c059e7560ed2a60dc8f06f168195f0acf /drivers/mfd/twl4030-power.c | |
parent | mfd: twl: Fix TWL6032 phy vbus detection (diff) | |
download | linux-58a3fb991ec21e8cba82062be374c67447496e3a.tar.xz linux-58a3fb991ec21e8cba82062be374c67447496e3a.zip |
mfd: twl4030-power: 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>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221212214352.3776110-1-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'drivers/mfd/twl4030-power.c')
-rw-r--r-- | drivers/mfd/twl4030-power.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c index 6b36932263ba..e35b0f788c50 100644 --- a/drivers/mfd/twl4030-power.c +++ b/drivers/mfd/twl4030-power.c @@ -953,18 +953,12 @@ relock: return err; } -static int twl4030_power_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver twl4030_power_driver = { .driver = { .name = "twl4030_power", .of_match_table = of_match_ptr(twl4030_power_of_match), }, .probe = twl4030_power_probe, - .remove = twl4030_power_remove, }; module_platform_driver(twl4030_power_driver); |