drivers/rtc/rtc-rs5c348.c: remove empty function
authorSachin Kamat <[email protected]>
Wed, 3 Jul 2013 22:07:38 +0000 (15:07 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Acked-by: Atsushi Nemoto <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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);