From: Laxman Dewangan Date: Thu, 26 Sep 2013 13:48:15 +0000 (+0530) Subject: clk: wm831x: get rid of the implementation of remove function X-Git-Tag: next-20131017~3^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=92947789815f9ec808ad3de177af99a5d02ef6b2;p=karo-tx-linux.git 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: Laxman Dewangan Acked-by: Mark Brown Signed-off-by: Mike Turquette --- diff --git a/drivers/clk/clk-wm831x.c b/drivers/clk/clk-wm831x.c index 805b4c344006..b131041c8f48 100644 --- a/drivers/clk/clk-wm831x.c +++ b/drivers/clk/clk-wm831x.c @@ -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,