soc: bcm: bcm2835-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>
Link: https://lore.kernel.org/r/20221212222549.3779846-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
Uwe Kleine-König 2022-12-12 23:25:47 +01:00 committed by Florian Fainelli
parent 1b929c02af
commit 94214f145b
1 changed files with 0 additions and 6 deletions

View File

@ -701,14 +701,8 @@ fail:
return ret;
}
static int bcm2835_power_remove(struct platform_device *pdev)
{
return 0;
}
static struct platform_driver bcm2835_power_driver = {
.probe = bcm2835_power_probe,
.remove = bcm2835_power_remove,
.driver = {
.name = "bcm2835-power",
},