Commit 94214f14 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Florian Fainelli

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20221212222549.3779846-2-u.kleine-koenig@pengutronix.deSigned-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 1b929c02
......@@ -701,14 +701,8 @@ static int bcm2835_power_probe(struct platform_device *pdev)
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",
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment