]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc/rtc-rs5c313.c: remove empty function
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 19 Jun 2013 00:08:02 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:31 +0000 (17:27 +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: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Andrew Morton <akpm@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)