drivers/rtc/rtc-rs5c348.c: remove empty function
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:07:38 +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>
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-rs5c348.c

index 2c37df3586c745bb2396f43a340f6e6937532804..f7a90a116a39bcc0dda39a8c31ec866a0dde29fb 100644 (file)
@@ -218,18 +218,12 @@ static int rs5c348_probe(struct spi_device *spi)
        return ret;
 }
 
-static int rs5c348_remove(struct spi_device *spi)
-{
-       return 0;
-}
-
 static struct spi_driver rs5c348_driver = {
        .driver = {
                .name   = "rtc-rs5c348",
                .owner  = THIS_MODULE,
        },
        .probe  = rs5c348_probe,
-       .remove = rs5c348_remove,
 };
 
 module_spi_driver(rs5c348_driver);