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:
parent
1b929c02af
commit
94214f145b
|
@ -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",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue