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

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.de


Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 1b929c02
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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",
	},