summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-rs5c348.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-rs5c348.c')
-rw-r--r--drivers/rtc/rtc-rs5c348.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-rs5c348.c b/drivers/rtc/rtc-rs5c348.c
index 1162fecab8cf..9a306983aaba 100644
--- a/drivers/rtc/rtc-rs5c348.c
+++ b/drivers/rtc/rtc-rs5c348.c
@@ -25,8 +25,6 @@
25#include <linux/spi/spi.h> 25#include <linux/spi/spi.h>
26#include <linux/module.h> 26#include <linux/module.h>
27 27
28#define DRV_VERSION "0.2"
29
30#define RS5C348_REG_SECS 0 28#define RS5C348_REG_SECS 0
31#define RS5C348_REG_MINS 1 29#define RS5C348_REG_MINS 1
32#define RS5C348_REG_HOURS 2 30#define RS5C348_REG_HOURS 2
@@ -171,7 +169,6 @@ static int rs5c348_probe(struct spi_device *spi)
171 goto kfree_exit; 169 goto kfree_exit;
172 } 170 }
173 171
174 dev_info(&spi->dev, "chip found, driver version " DRV_VERSION "\n");
175 dev_info(&spi->dev, "spiclk %u KHz.\n", 172 dev_info(&spi->dev, "spiclk %u KHz.\n",
176 (spi->max_speed_hz + 500) / 1000); 173 (spi->max_speed_hz + 500) / 1000);
177 174
@@ -230,5 +227,4 @@ module_spi_driver(rs5c348_driver);
230MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); 227MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
231MODULE_DESCRIPTION("Ricoh RS5C348 RTC driver"); 228MODULE_DESCRIPTION("Ricoh RS5C348 RTC driver");
232MODULE_LICENSE("GPL"); 229MODULE_LICENSE("GPL");
233MODULE_VERSION(DRV_VERSION);
234MODULE_ALIAS("spi:rtc-rs5c348"); 230MODULE_ALIAS("spi:rtc-rs5c348");