Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92947789 authored by Laxman Dewangan's avatar Laxman Dewangan Committed by Mike Turquette
Browse files

clk: wm831x: get rid of the implementation of remove function



The remove function implemented for platform driver's remove callback
just return 0 as part of its implementation.

Remove this APIs and do not pass the valid .remove for platform driver.

Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Acked-by: default avatarMark Brown <broonie@linaro.org>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent da0f0b2c
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -391,14 +391,8 @@ static int wm831x_clk_probe(struct platform_device *pdev)
	return 0;
}

static int wm831x_clk_remove(struct platform_device *pdev)
{
	return 0;
}

static struct platform_driver wm831x_clk_driver = {
	.probe = wm831x_clk_probe,
	.remove = wm831x_clk_remove,
	.driver		= {
		.name	= "wm831x-clk",
		.owner	= THIS_MODULE,