]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc/rtc-ls1x.c: remove empty function
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 7 Jun 2013 00:09:10 +0000 (10:09 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:59 +0000 (15:42 +1000)
After the switch to devm_ functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: zhao zhang <zhzhl555@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-ls1x.c

index e913f38bd33d97dfe78b8beaeb208331e57f029d..682ecb094839ce9529e02cbd4c5aebdb92cc38f4 100644 (file)
@@ -185,17 +185,11 @@ err:
        return ret;
 }
 
-static int ls1x_rtc_remove(struct platform_device *pdev)
-{
-       return 0;
-}
-
 static struct platform_driver  ls1x_rtc_driver = {
        .driver         = {
                .name   = "ls1x-rtc",
                .owner  = THIS_MODULE,
        },
-       .remove         = ls1x_rtc_remove,
        .probe          = ls1x_rtc_probe,
 };