clk: wm831x: get rid of the implementation of remove function
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 26 Sep 2013 13:48:15 +0000 (19:18 +0530)
committerMike Turquette <mturquette@linaro.org>
Wed, 2 Oct 2013 08:23:34 +0000 (01:23 -0700)
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 <ldewangan@nvidia.com>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-wm831x.c

index 805b4c3440064ad5509e7a749adc5092e2230583..b131041c8f488f29f4a9f9d5161da119f274245e 100644 (file)
@@ -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,