aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max6902.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-max6902.c')
-rw-r--r--drivers/rtc/rtc-max6902.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/rtc/rtc-max6902.c b/drivers/rtc/rtc-max6902.c
index e3aea00c3145..ac3f4191864f 100644
--- a/drivers/rtc/rtc-max6902.c
+++ b/drivers/rtc/rtc-max6902.c
@@ -143,23 +143,17 @@ static int max6902_probe(struct spi_device *spi)
143 return 0; 143 return 0;
144} 144}
145 145
146static int max6902_remove(struct spi_device *spi)
147{
148 return 0;
149}
150
151static struct spi_driver max6902_driver = { 146static struct spi_driver max6902_driver = {
152 .driver = { 147 .driver = {
153 .name = "rtc-max6902", 148 .name = "rtc-max6902",
154 .owner = THIS_MODULE, 149 .owner = THIS_MODULE,
155 }, 150 },
156 .probe = max6902_probe, 151 .probe = max6902_probe,
157 .remove = max6902_remove,
158}; 152};
159 153
160module_spi_driver(max6902_driver); 154module_spi_driver(max6902_driver);
161 155
162MODULE_DESCRIPTION ("max6902 spi RTC driver"); 156MODULE_DESCRIPTION("max6902 spi RTC driver");
163MODULE_AUTHOR ("Raphael Assenat"); 157MODULE_AUTHOR("Raphael Assenat");
164MODULE_LICENSE ("GPL"); 158MODULE_LICENSE("GPL");
165MODULE_ALIAS("spi:rtc-max6902"); 159MODULE_ALIAS("spi:rtc-max6902");