Merge branch 'for-3.11/core' of git://git.kernel.dk/linux-block
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / rtc-max6902.c
index e3aea00c3145746fd32abe405f091142856d6633..ac3f4191864f026103c7b9b26cafee8716d9ed2a 100644 (file)
@@ -143,23 +143,17 @@ static int max6902_probe(struct spi_device *spi)
        return 0;
 }
 
-static int max6902_remove(struct spi_device *spi)
-{
-       return 0;
-}
-
 static struct spi_driver max6902_driver = {
        .driver = {
                .name   = "rtc-max6902",
                .owner  = THIS_MODULE,
        },
        .probe  = max6902_probe,
-       .remove = max6902_remove,
 };
 
 module_spi_driver(max6902_driver);
 
-MODULE_DESCRIPTION ("max6902 spi RTC driver");
-MODULE_AUTHOR ("Raphael Assenat");
-MODULE_LICENSE ("GPL");
+MODULE_DESCRIPTION("max6902 spi RTC driver");
+MODULE_AUTHOR("Raphael Assenat");
+MODULE_LICENSE("GPL");
 MODULE_ALIAS("spi:rtc-max6902");