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 08:25:52 +0000 |
commit | 58a3fb991ec21e8cba82062be374c67447496e3a (patch) | |
tree | 069e298c059e7560ed2a60dc8f06f168195f0acf /drivers/mfd | |
parent | ccc91b3ed3f641efa8e9050c587ef509b0e2be3a (diff) |
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')
-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); |