]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
drivers/rtc/rtc-rs5c313.c: remove empty function
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:07:36 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:58 +0000 (16:07 -0700)
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: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-rs5c313.c

index 6af0f1f95f63852efb67b37d9511fc68580c60c8..68f7856422f16c8c0858268f7bf7f31160d455db 100644 (file)
@@ -378,18 +378,12 @@ static int rs5c313_rtc_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int rs5c313_rtc_remove(struct platform_device *pdev)
-{
-       return 0;
-}
-
 static struct platform_driver rs5c313_rtc_platform_driver = {
        .driver         = {
                .name   = DRV_NAME,
                .owner  = THIS_MODULE,
        },
        .probe  = rs5c313_rtc_probe,
-       .remove = rs5c313_rtc_remove,
 };
 
 static int __init rs5c313_rtc_init(void)