diff options
-rw-r--r-- | drivers/rtc/rtc-ds1216.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-ds1286.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-ds1302.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-ds1343.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-ds1511.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-ds1553.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-ds1672.c | 5 | ||||
-rw-r--r-- | drivers/rtc/rtc-ds1685.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-ds1742.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-ep93xx.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-gemini.c | 1 | ||||
-rw-r--r-- | drivers/rtc/rtc-isl12022.c | 5 | ||||
-rw-r--r-- | drivers/rtc/rtc-isl1208.c | 6 | ||||
-rw-r--r-- | drivers/rtc/rtc-m48t35.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-m48t86.c | 4 | ||||
-rw-r--r-- | drivers/rtc/rtc-max6900.c | 5 | ||||
-rw-r--r-- | drivers/rtc/rtc-pcf2123.c | 4 | ||||
-rw-r--r-- | drivers/rtc/rtc-pcf8563.c | 5 | ||||
-rw-r--r-- | drivers/rtc/rtc-rs5c313.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-rs5c348.c | 4 | ||||
-rw-r--r-- | drivers/rtc/rtc-rs5c372.c | 6 | ||||
-rw-r--r-- | drivers/rtc/rtc-rx8581.c | 5 | ||||
-rw-r--r-- | drivers/rtc/rtc-sh.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-stk17ta8.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-x1205.c | 5 |
25 files changed, 1 insertions, 89 deletions
diff --git a/drivers/rtc/rtc-ds1216.c b/drivers/rtc/rtc-ds1216.c index 12dbd70859ae..9c82b1da2d45 100644 --- a/drivers/rtc/rtc-ds1216.c +++ b/drivers/rtc/rtc-ds1216.c | |||
@@ -11,8 +11,6 @@ | |||
11 | #include <linux/bcd.h> | 11 | #include <linux/bcd.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | 13 | ||
14 | #define DRV_VERSION "0.2" | ||
15 | |||
16 | struct ds1216_regs { | 14 | struct ds1216_regs { |
17 | u8 tsec; | 15 | u8 tsec; |
18 | u8 sec; | 16 | u8 sec; |
@@ -176,5 +174,4 @@ module_platform_driver_probe(ds1216_rtc_platform_driver, ds1216_rtc_probe); | |||
176 | MODULE_AUTHOR("Thomas Bogendoerfer <tsbogend@alpha.franken.de>"); | 174 | MODULE_AUTHOR("Thomas Bogendoerfer <tsbogend@alpha.franken.de>"); |
177 | MODULE_DESCRIPTION("DS1216 RTC driver"); | 175 | MODULE_DESCRIPTION("DS1216 RTC driver"); |
178 | MODULE_LICENSE("GPL"); | 176 | MODULE_LICENSE("GPL"); |
179 | MODULE_VERSION(DRV_VERSION); | ||
180 | MODULE_ALIAS("platform:rtc-ds1216"); | 177 | MODULE_ALIAS("platform:rtc-ds1216"); |
diff --git a/drivers/rtc/rtc-ds1286.c b/drivers/rtc/rtc-ds1286.c index 8247a29a4eb4..756e509f6ed2 100644 --- a/drivers/rtc/rtc-ds1286.c +++ b/drivers/rtc/rtc-ds1286.c | |||
@@ -20,8 +20,6 @@ | |||
20 | #include <linux/io.h> | 20 | #include <linux/io.h> |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | 22 | ||
23 | #define DRV_VERSION "1.0" | ||
24 | |||
25 | struct ds1286_priv { | 23 | struct ds1286_priv { |
26 | struct rtc_device *rtc; | 24 | struct rtc_device *rtc; |
27 | u32 __iomem *rtcregs; | 25 | u32 __iomem *rtcregs; |
@@ -363,5 +361,4 @@ module_platform_driver(ds1286_platform_driver); | |||
363 | MODULE_AUTHOR("Thomas Bogendoerfer <tsbogend@alpha.franken.de>"); | 361 | MODULE_AUTHOR("Thomas Bogendoerfer <tsbogend@alpha.franken.de>"); |
364 | MODULE_DESCRIPTION("DS1286 RTC driver"); | 362 | MODULE_DESCRIPTION("DS1286 RTC driver"); |
365 | MODULE_LICENSE("GPL"); | 363 | MODULE_LICENSE("GPL"); |
366 | MODULE_VERSION(DRV_VERSION); | ||
367 | MODULE_ALIAS("platform:rtc-ds1286"); | 364 | MODULE_ALIAS("platform:rtc-ds1286"); |
diff --git a/drivers/rtc/rtc-ds1302.c b/drivers/rtc/rtc-ds1302.c index 5cdc0f201b34..7811b357ed70 100644 --- a/drivers/rtc/rtc-ds1302.c +++ b/drivers/rtc/rtc-ds1302.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/spi/spi.h> | 19 | #include <linux/spi/spi.h> |
20 | 20 | ||
21 | #define DRV_NAME "rtc-ds1302" | 21 | #define DRV_NAME "rtc-ds1302" |
22 | #define DRV_VERSION "1.0.0" | ||
23 | 22 | ||
24 | #define RTC_CMD_READ 0x81 /* Read command */ | 23 | #define RTC_CMD_READ 0x81 /* Read command */ |
25 | #define RTC_CMD_WRITE 0x80 /* Write command */ | 24 | #define RTC_CMD_WRITE 0x80 /* Write command */ |
@@ -216,6 +215,5 @@ static struct spi_driver ds1302_driver = { | |||
216 | module_spi_driver(ds1302_driver); | 215 | module_spi_driver(ds1302_driver); |
217 | 216 | ||
218 | MODULE_DESCRIPTION("Dallas DS1302 RTC driver"); | 217 | MODULE_DESCRIPTION("Dallas DS1302 RTC driver"); |
219 | MODULE_VERSION(DRV_VERSION); | ||
220 | MODULE_AUTHOR("Paul Mundt, David McCullough"); | 218 | MODULE_AUTHOR("Paul Mundt, David McCullough"); |
221 | MODULE_LICENSE("GPL v2"); | 219 | MODULE_LICENSE("GPL v2"); |
diff --git a/drivers/rtc/rtc-ds1343.c b/drivers/rtc/rtc-ds1343.c index 3d389bd8a289..23fa9f0cb5e3 100644 --- a/drivers/rtc/rtc-ds1343.c +++ b/drivers/rtc/rtc-ds1343.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/pm_wakeirq.h> | 24 | #include <linux/pm_wakeirq.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | 26 | ||
27 | #define DS1343_DRV_VERSION "01.00" | ||
28 | #define DALLAS_MAXIM_DS1343 0 | 27 | #define DALLAS_MAXIM_DS1343 0 |
29 | #define DALLAS_MAXIM_DS1344 1 | 28 | #define DALLAS_MAXIM_DS1344 1 |
30 | 29 | ||
@@ -747,4 +746,3 @@ MODULE_DESCRIPTION("DS1343 RTC SPI Driver"); | |||
747 | MODULE_AUTHOR("Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>," | 746 | MODULE_AUTHOR("Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>," |
748 | "Ankur Srivastava <sankurece@gmail.com>"); | 747 | "Ankur Srivastava <sankurece@gmail.com>"); |
749 | MODULE_LICENSE("GPL v2"); | 748 | MODULE_LICENSE("GPL v2"); |
750 | MODULE_VERSION(DS1343_DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c index da3d04ce83bd..1b2dcb58c0ab 100644 --- a/drivers/rtc/rtc-ds1511.c +++ b/drivers/rtc/rtc-ds1511.c | |||
@@ -25,8 +25,6 @@ | |||
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/module.h> | 26 | #include <linux/module.h> |
27 | 27 | ||
28 | #define DRV_VERSION "0.6" | ||
29 | |||
30 | enum ds1511reg { | 28 | enum ds1511reg { |
31 | DS1511_SEC = 0x0, | 29 | DS1511_SEC = 0x0, |
32 | DS1511_MIN = 0x1, | 30 | DS1511_MIN = 0x1, |
@@ -537,4 +535,3 @@ module_platform_driver(ds1511_rtc_driver); | |||
537 | MODULE_AUTHOR("Andrew Sharp <andy.sharp@lsi.com>"); | 535 | MODULE_AUTHOR("Andrew Sharp <andy.sharp@lsi.com>"); |
538 | MODULE_DESCRIPTION("Dallas DS1511 RTC driver"); | 536 | MODULE_DESCRIPTION("Dallas DS1511 RTC driver"); |
539 | MODULE_LICENSE("GPL"); | 537 | MODULE_LICENSE("GPL"); |
540 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-ds1553.c b/drivers/rtc/rtc-ds1553.c index 38422ab4ec5a..9961ec646fd2 100644 --- a/drivers/rtc/rtc-ds1553.c +++ b/drivers/rtc/rtc-ds1553.c | |||
@@ -20,8 +20,6 @@ | |||
20 | #include <linux/io.h> | 20 | #include <linux/io.h> |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | 22 | ||
23 | #define DRV_VERSION "0.3" | ||
24 | |||
25 | #define RTC_REG_SIZE 0x2000 | 23 | #define RTC_REG_SIZE 0x2000 |
26 | #define RTC_OFFSET 0x1ff0 | 24 | #define RTC_OFFSET 0x1ff0 |
27 | 25 | ||
@@ -359,4 +357,3 @@ module_platform_driver(ds1553_rtc_driver); | |||
359 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); | 357 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); |
360 | MODULE_DESCRIPTION("Dallas DS1553 RTC driver"); | 358 | MODULE_DESCRIPTION("Dallas DS1553 RTC driver"); |
361 | MODULE_LICENSE("GPL"); | 359 | MODULE_LICENSE("GPL"); |
362 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-ds1672.c b/drivers/rtc/rtc-ds1672.c index 92b1cbf2c4a7..5c18ac7394c4 100644 --- a/drivers/rtc/rtc-ds1672.c +++ b/drivers/rtc/rtc-ds1672.c | |||
@@ -13,8 +13,6 @@ | |||
13 | #include <linux/rtc.h> | 13 | #include <linux/rtc.h> |
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | 15 | ||
16 | #define DRV_VERSION "0.4" | ||
17 | |||
18 | /* Registers */ | 16 | /* Registers */ |
19 | 17 | ||
20 | #define DS1672_REG_CNT_BASE 0 | 18 | #define DS1672_REG_CNT_BASE 0 |
@@ -165,8 +163,6 @@ static int ds1672_probe(struct i2c_client *client, | |||
165 | if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) | 163 | if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) |
166 | return -ENODEV; | 164 | return -ENODEV; |
167 | 165 | ||
168 | dev_info(&client->dev, "chip found, driver version " DRV_VERSION "\n"); | ||
169 | |||
170 | rtc = devm_rtc_device_register(&client->dev, ds1672_driver.driver.name, | 166 | rtc = devm_rtc_device_register(&client->dev, ds1672_driver.driver.name, |
171 | &ds1672_rtc_ops, THIS_MODULE); | 167 | &ds1672_rtc_ops, THIS_MODULE); |
172 | 168 | ||
@@ -213,4 +209,3 @@ module_i2c_driver(ds1672_driver); | |||
213 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); | 209 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); |
214 | MODULE_DESCRIPTION("Dallas/Maxim DS1672 timekeeper driver"); | 210 | MODULE_DESCRIPTION("Dallas/Maxim DS1672 timekeeper driver"); |
215 | MODULE_LICENSE("GPL"); | 211 | MODULE_LICENSE("GPL"); |
216 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c index 1e6cfc84b1f6..2698d8ffe4fd 100644 --- a/drivers/rtc/rtc-ds1685.c +++ b/drivers/rtc/rtc-ds1685.c | |||
@@ -32,8 +32,6 @@ | |||
32 | #include <linux/proc_fs.h> | 32 | #include <linux/proc_fs.h> |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #define DRV_VERSION "0.42.0" | ||
36 | |||
37 | 35 | ||
38 | /* ----------------------------------------------------------------------- */ | 36 | /* ----------------------------------------------------------------------- */ |
39 | /* Standard read/write functions if platform does not provide overrides */ | 37 | /* Standard read/write functions if platform does not provide overrides */ |
@@ -2224,5 +2222,4 @@ MODULE_AUTHOR("Joshua Kinard <kumba@gentoo.org>"); | |||
2224 | MODULE_AUTHOR("Matthias Fuchs <matthias.fuchs@esd-electronics.com>"); | 2222 | MODULE_AUTHOR("Matthias Fuchs <matthias.fuchs@esd-electronics.com>"); |
2225 | MODULE_DESCRIPTION("Dallas/Maxim DS1685/DS1687-series RTC driver"); | 2223 | MODULE_DESCRIPTION("Dallas/Maxim DS1685/DS1687-series RTC driver"); |
2226 | MODULE_LICENSE("GPL"); | 2224 | MODULE_LICENSE("GPL"); |
2227 | MODULE_VERSION(DRV_VERSION); | ||
2228 | MODULE_ALIAS("platform:rtc-ds1685"); | 2225 | MODULE_ALIAS("platform:rtc-ds1685"); |
diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c index c5168b3bcf1a..3abf1cbfb8ce 100644 --- a/drivers/rtc/rtc-ds1742.c +++ b/drivers/rtc/rtc-ds1742.c | |||
@@ -24,8 +24,6 @@ | |||
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | 26 | ||
27 | #define DRV_VERSION "0.4" | ||
28 | |||
29 | #define RTC_SIZE 8 | 27 | #define RTC_SIZE 8 |
30 | 28 | ||
31 | #define RTC_CONTROL 0 | 29 | #define RTC_CONTROL 0 |
@@ -239,5 +237,4 @@ module_platform_driver(ds1742_rtc_driver); | |||
239 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); | 237 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); |
240 | MODULE_DESCRIPTION("Dallas DS1742 RTC driver"); | 238 | MODULE_DESCRIPTION("Dallas DS1742 RTC driver"); |
241 | MODULE_LICENSE("GPL"); | 239 | MODULE_LICENSE("GPL"); |
242 | MODULE_VERSION(DRV_VERSION); | ||
243 | MODULE_ALIAS("platform:rtc-ds1742"); | 240 | MODULE_ALIAS("platform:rtc-ds1742"); |
diff --git a/drivers/rtc/rtc-ep93xx.c b/drivers/rtc/rtc-ep93xx.c index a1628adf9f52..694038208745 100644 --- a/drivers/rtc/rtc-ep93xx.c +++ b/drivers/rtc/rtc-ep93xx.c | |||
@@ -28,8 +28,6 @@ | |||
28 | #define EP93XX_RTC_SWCOMP_INT_MASK 0x0000ffff | 28 | #define EP93XX_RTC_SWCOMP_INT_MASK 0x0000ffff |
29 | #define EP93XX_RTC_SWCOMP_INT_SHIFT 0 | 29 | #define EP93XX_RTC_SWCOMP_INT_SHIFT 0 |
30 | 30 | ||
31 | #define DRV_VERSION "0.3" | ||
32 | |||
33 | /* | 31 | /* |
34 | * struct device dev.platform_data is used to store our private data | 32 | * struct device dev.platform_data is used to store our private data |
35 | * because struct rtc_device does not have a variable to hold it. | 33 | * because struct rtc_device does not have a variable to hold it. |
@@ -184,5 +182,4 @@ module_platform_driver(ep93xx_rtc_driver); | |||
184 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); | 182 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); |
185 | MODULE_DESCRIPTION("EP93XX RTC driver"); | 183 | MODULE_DESCRIPTION("EP93XX RTC driver"); |
186 | MODULE_LICENSE("GPL"); | 184 | MODULE_LICENSE("GPL"); |
187 | MODULE_VERSION(DRV_VERSION); | ||
188 | MODULE_ALIAS("platform:ep93xx-rtc"); | 185 | MODULE_ALIAS("platform:ep93xx-rtc"); |
diff --git a/drivers/rtc/rtc-gemini.c b/drivers/rtc/rtc-gemini.c index f46b6d46a51b..b57505efadbc 100644 --- a/drivers/rtc/rtc-gemini.c +++ b/drivers/rtc/rtc-gemini.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/module.h> | 28 | #include <linux/module.h> |
29 | 29 | ||
30 | #define DRV_NAME "rtc-gemini" | 30 | #define DRV_NAME "rtc-gemini" |
31 | #define DRV_VERSION "0.2" | ||
32 | 31 | ||
33 | MODULE_AUTHOR("Hans Ulli Kroll <ulli.kroll@googlemail.com>"); | 32 | MODULE_AUTHOR("Hans Ulli Kroll <ulli.kroll@googlemail.com>"); |
34 | MODULE_DESCRIPTION("RTC driver for Gemini SoC"); | 33 | MODULE_DESCRIPTION("RTC driver for Gemini SoC"); |
diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c index 839d1fd63cd7..38586a024ee8 100644 --- a/drivers/rtc/rtc-isl12022.c +++ b/drivers/rtc/rtc-isl12022.c | |||
@@ -20,8 +20,6 @@ | |||
20 | #include <linux/of.h> | 20 | #include <linux/of.h> |
21 | #include <linux/of_device.h> | 21 | #include <linux/of_device.h> |
22 | 22 | ||
23 | #define DRV_VERSION "0.1" | ||
24 | |||
25 | /* ISL register offsets */ | 23 | /* ISL register offsets */ |
26 | #define ISL12022_REG_SC 0x00 | 24 | #define ISL12022_REG_SC 0x00 |
27 | #define ISL12022_REG_MN 0x01 | 25 | #define ISL12022_REG_MN 0x01 |
@@ -258,8 +256,6 @@ static int isl12022_probe(struct i2c_client *client, | |||
258 | if (!isl12022) | 256 | if (!isl12022) |
259 | return -ENOMEM; | 257 | return -ENOMEM; |
260 | 258 | ||
261 | dev_dbg(&client->dev, "chip found, driver version " DRV_VERSION "\n"); | ||
262 | |||
263 | i2c_set_clientdata(client, isl12022); | 259 | i2c_set_clientdata(client, isl12022); |
264 | 260 | ||
265 | isl12022->rtc = devm_rtc_device_register(&client->dev, | 261 | isl12022->rtc = devm_rtc_device_register(&client->dev, |
@@ -299,4 +295,3 @@ module_i2c_driver(isl12022_driver); | |||
299 | MODULE_AUTHOR("roman.fietze@telemotive.de"); | 295 | MODULE_AUTHOR("roman.fietze@telemotive.de"); |
300 | MODULE_DESCRIPTION("ISL 12022 RTC driver"); | 296 | MODULE_DESCRIPTION("ISL 12022 RTC driver"); |
301 | MODULE_LICENSE("GPL"); | 297 | MODULE_LICENSE("GPL"); |
302 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c index b57a304ff62c..2893785f0eba 100644 --- a/drivers/rtc/rtc-isl1208.c +++ b/drivers/rtc/rtc-isl1208.c | |||
@@ -15,8 +15,6 @@ | |||
15 | #include <linux/bcd.h> | 15 | #include <linux/bcd.h> |
16 | #include <linux/rtc.h> | 16 | #include <linux/rtc.h> |
17 | 17 | ||
18 | #define DRV_VERSION "0.3" | ||
19 | |||
20 | /* Register map */ | 18 | /* Register map */ |
21 | /* rtc section */ | 19 | /* rtc section */ |
22 | #define ISL1208_REG_SC 0x00 | 20 | #define ISL1208_REG_SC 0x00 |
@@ -632,9 +630,6 @@ isl1208_probe(struct i2c_client *client, const struct i2c_device_id *id) | |||
632 | if (isl1208_i2c_validate_client(client) < 0) | 630 | if (isl1208_i2c_validate_client(client) < 0) |
633 | return -ENODEV; | 631 | return -ENODEV; |
634 | 632 | ||
635 | dev_info(&client->dev, | ||
636 | "chip found, driver version " DRV_VERSION "\n"); | ||
637 | |||
638 | if (client->irq > 0) { | 633 | if (client->irq > 0) { |
639 | rc = devm_request_threaded_irq(&client->dev, client->irq, NULL, | 634 | rc = devm_request_threaded_irq(&client->dev, client->irq, NULL, |
640 | isl1208_rtc_interrupt, | 635 | isl1208_rtc_interrupt, |
@@ -706,4 +701,3 @@ module_i2c_driver(isl1208_driver); | |||
706 | MODULE_AUTHOR("Herbert Valerio Riedel <hvr@gnu.org>"); | 701 | MODULE_AUTHOR("Herbert Valerio Riedel <hvr@gnu.org>"); |
707 | MODULE_DESCRIPTION("Intersil ISL1208 RTC driver"); | 702 | MODULE_DESCRIPTION("Intersil ISL1208 RTC driver"); |
708 | MODULE_LICENSE("GPL"); | 703 | MODULE_LICENSE("GPL"); |
709 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-m48t35.c b/drivers/rtc/rtc-m48t35.c index c62b51217ecf..810f4ea481e4 100644 --- a/drivers/rtc/rtc-m48t35.c +++ b/drivers/rtc/rtc-m48t35.c | |||
@@ -22,8 +22,6 @@ | |||
22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
23 | #include <linux/err.h> | 23 | #include <linux/err.h> |
24 | 24 | ||
25 | #define DRV_VERSION "1.0" | ||
26 | |||
27 | struct m48t35_rtc { | 25 | struct m48t35_rtc { |
28 | u8 pad[0x7ff8]; /* starts at 0x7ff8 */ | 26 | u8 pad[0x7ff8]; /* starts at 0x7ff8 */ |
29 | u8 control; | 27 | u8 control; |
@@ -190,5 +188,4 @@ module_platform_driver(m48t35_platform_driver); | |||
190 | MODULE_AUTHOR("Thomas Bogendoerfer <tsbogend@alpha.franken.de>"); | 188 | MODULE_AUTHOR("Thomas Bogendoerfer <tsbogend@alpha.franken.de>"); |
191 | MODULE_DESCRIPTION("M48T35 RTC driver"); | 189 | MODULE_DESCRIPTION("M48T35 RTC driver"); |
192 | MODULE_LICENSE("GPL"); | 190 | MODULE_LICENSE("GPL"); |
193 | MODULE_VERSION(DRV_VERSION); | ||
194 | MODULE_ALIAS("platform:rtc-m48t35"); | 191 | MODULE_ALIAS("platform:rtc-m48t35"); |
diff --git a/drivers/rtc/rtc-m48t86.c b/drivers/rtc/rtc-m48t86.c index a17b7a3ceece..f72b91f2501f 100644 --- a/drivers/rtc/rtc-m48t86.c +++ b/drivers/rtc/rtc-m48t86.c | |||
@@ -39,9 +39,6 @@ | |||
39 | #define M48T86_REG_B_SET (1 << 7) | 39 | #define M48T86_REG_B_SET (1 << 7) |
40 | #define M48T86_REG_D_VRT (1 << 7) | 40 | #define M48T86_REG_D_VRT (1 << 7) |
41 | 41 | ||
42 | #define DRV_VERSION "0.1" | ||
43 | |||
44 | |||
45 | static int m48t86_rtc_read_time(struct device *dev, struct rtc_time *tm) | 42 | static int m48t86_rtc_read_time(struct device *dev, struct rtc_time *tm) |
46 | { | 43 | { |
47 | unsigned char reg; | 44 | unsigned char reg; |
@@ -178,5 +175,4 @@ module_platform_driver(m48t86_rtc_platform_driver); | |||
178 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); | 175 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); |
179 | MODULE_DESCRIPTION("M48T86 RTC driver"); | 176 | MODULE_DESCRIPTION("M48T86 RTC driver"); |
180 | MODULE_LICENSE("GPL"); | 177 | MODULE_LICENSE("GPL"); |
181 | MODULE_VERSION(DRV_VERSION); | ||
182 | MODULE_ALIAS("platform:rtc-m48t86"); | 178 | MODULE_ALIAS("platform:rtc-m48t86"); |
diff --git a/drivers/rtc/rtc-max6900.c b/drivers/rtc/rtc-max6900.c index b2a76077bbfa..48b6b411f8b2 100644 --- a/drivers/rtc/rtc-max6900.c +++ b/drivers/rtc/rtc-max6900.c | |||
@@ -17,8 +17,6 @@ | |||
17 | #include <linux/rtc.h> | 17 | #include <linux/rtc.h> |
18 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
19 | 19 | ||
20 | #define DRV_VERSION "0.2" | ||
21 | |||
22 | /* | 20 | /* |
23 | * register indices | 21 | * register indices |
24 | */ | 22 | */ |
@@ -218,8 +216,6 @@ max6900_probe(struct i2c_client *client, const struct i2c_device_id *id) | |||
218 | if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) | 216 | if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) |
219 | return -ENODEV; | 217 | return -ENODEV; |
220 | 218 | ||
221 | dev_info(&client->dev, "chip found, driver version " DRV_VERSION "\n"); | ||
222 | |||
223 | rtc = devm_rtc_device_register(&client->dev, max6900_driver.driver.name, | 219 | rtc = devm_rtc_device_register(&client->dev, max6900_driver.driver.name, |
224 | &max6900_rtc_ops, THIS_MODULE); | 220 | &max6900_rtc_ops, THIS_MODULE); |
225 | if (IS_ERR(rtc)) | 221 | if (IS_ERR(rtc)) |
@@ -249,4 +245,3 @@ module_i2c_driver(max6900_driver); | |||
249 | MODULE_DESCRIPTION("Maxim MAX6900 RTC driver"); | 245 | MODULE_DESCRIPTION("Maxim MAX6900 RTC driver"); |
250 | MODULE_AUTHOR("Dale Farnsworth <dale@farnsworth.org>"); | 246 | MODULE_AUTHOR("Dale Farnsworth <dale@farnsworth.org>"); |
251 | MODULE_LICENSE("GPL"); | 247 | MODULE_LICENSE("GPL"); |
252 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-pcf2123.c b/drivers/rtc/rtc-pcf2123.c index da27738b1242..f22e060709e5 100644 --- a/drivers/rtc/rtc-pcf2123.c +++ b/drivers/rtc/rtc-pcf2123.c | |||
@@ -46,8 +46,6 @@ | |||
46 | #include <linux/module.h> | 46 | #include <linux/module.h> |
47 | #include <linux/sysfs.h> | 47 | #include <linux/sysfs.h> |
48 | 48 | ||
49 | #define DRV_VERSION "0.6" | ||
50 | |||
51 | /* REGISTERS */ | 49 | /* REGISTERS */ |
52 | #define PCF2123_REG_CTRL1 (0x00) /* Control Register 1 */ | 50 | #define PCF2123_REG_CTRL1 (0x00) /* Control Register 1 */ |
53 | #define PCF2123_REG_CTRL2 (0x01) /* Control Register 2 */ | 51 | #define PCF2123_REG_CTRL2 (0x01) /* Control Register 2 */ |
@@ -395,7 +393,6 @@ static int pcf2123_probe(struct spi_device *spi) | |||
395 | } | 393 | } |
396 | } | 394 | } |
397 | 395 | ||
398 | dev_info(&spi->dev, "chip found, driver version " DRV_VERSION "\n"); | ||
399 | dev_info(&spi->dev, "spiclk %u KHz.\n", | 396 | dev_info(&spi->dev, "spiclk %u KHz.\n", |
400 | (spi->max_speed_hz + 500) / 1000); | 397 | (spi->max_speed_hz + 500) / 1000); |
401 | 398 | ||
@@ -474,4 +471,3 @@ module_spi_driver(pcf2123_driver); | |||
474 | MODULE_AUTHOR("Chris Verges <chrisv@cyberswitching.com>"); | 471 | MODULE_AUTHOR("Chris Verges <chrisv@cyberswitching.com>"); |
475 | MODULE_DESCRIPTION("NXP PCF2123 RTC driver"); | 472 | MODULE_DESCRIPTION("NXP PCF2123 RTC driver"); |
476 | MODULE_LICENSE("GPL"); | 473 | MODULE_LICENSE("GPL"); |
477 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index c8f95b8e463a..d5e6ed96b748 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c | |||
@@ -23,8 +23,6 @@ | |||
23 | #include <linux/of.h> | 23 | #include <linux/of.h> |
24 | #include <linux/err.h> | 24 | #include <linux/err.h> |
25 | 25 | ||
26 | #define DRV_VERSION "0.4.4" | ||
27 | |||
28 | #define PCF8563_REG_ST1 0x00 /* status */ | 26 | #define PCF8563_REG_ST1 0x00 /* status */ |
29 | #define PCF8563_REG_ST2 0x01 | 27 | #define PCF8563_REG_ST2 0x01 |
30 | #define PCF8563_BIT_AIE (1 << 1) | 28 | #define PCF8563_BIT_AIE (1 << 1) |
@@ -580,8 +578,6 @@ static int pcf8563_probe(struct i2c_client *client, | |||
580 | if (!pcf8563) | 578 | if (!pcf8563) |
581 | return -ENOMEM; | 579 | return -ENOMEM; |
582 | 580 | ||
583 | dev_info(&client->dev, "chip found, driver version " DRV_VERSION "\n"); | ||
584 | |||
585 | i2c_set_clientdata(client, pcf8563); | 581 | i2c_set_clientdata(client, pcf8563); |
586 | pcf8563->client = client; | 582 | pcf8563->client = client; |
587 | device_set_wakeup_capable(&client->dev, 1); | 583 | device_set_wakeup_capable(&client->dev, 1); |
@@ -662,4 +658,3 @@ module_i2c_driver(pcf8563_driver); | |||
662 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); | 658 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); |
663 | MODULE_DESCRIPTION("Philips PCF8563/Epson RTC8564 RTC driver"); | 659 | MODULE_DESCRIPTION("Philips PCF8563/Epson RTC8564 RTC driver"); |
664 | MODULE_LICENSE("GPL"); | 660 | MODULE_LICENSE("GPL"); |
665 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-rs5c313.c b/drivers/rtc/rtc-rs5c313.c index 5f48167c802a..89f38e3e917d 100644 --- a/drivers/rtc/rtc-rs5c313.c +++ b/drivers/rtc/rtc-rs5c313.c | |||
@@ -50,7 +50,6 @@ | |||
50 | #include <linux/io.h> | 50 | #include <linux/io.h> |
51 | 51 | ||
52 | #define DRV_NAME "rs5c313" | 52 | #define DRV_NAME "rs5c313" |
53 | #define DRV_VERSION "1.13" | ||
54 | 53 | ||
55 | #ifdef CONFIG_SH_LANDISK | 54 | #ifdef CONFIG_SH_LANDISK |
56 | /*****************************************************/ | 55 | /*****************************************************/ |
@@ -407,7 +406,6 @@ static void __exit rs5c313_rtc_exit(void) | |||
407 | module_init(rs5c313_rtc_init); | 406 | module_init(rs5c313_rtc_init); |
408 | module_exit(rs5c313_rtc_exit); | 407 | module_exit(rs5c313_rtc_exit); |
409 | 408 | ||
410 | MODULE_VERSION(DRV_VERSION); | ||
411 | MODULE_AUTHOR("kogiidena , Nobuhiro Iwamatsu <iwamatsu@nigauri.org>"); | 409 | MODULE_AUTHOR("kogiidena , Nobuhiro Iwamatsu <iwamatsu@nigauri.org>"); |
412 | MODULE_DESCRIPTION("Ricoh RS5C313 RTC device driver"); | 410 | MODULE_DESCRIPTION("Ricoh RS5C313 RTC device driver"); |
413 | MODULE_LICENSE("GPL"); | 411 | MODULE_LICENSE("GPL"); |
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); | |||
230 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); | 227 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); |
231 | MODULE_DESCRIPTION("Ricoh RS5C348 RTC driver"); | 228 | MODULE_DESCRIPTION("Ricoh RS5C348 RTC driver"); |
232 | MODULE_LICENSE("GPL"); | 229 | MODULE_LICENSE("GPL"); |
233 | MODULE_VERSION(DRV_VERSION); | ||
234 | MODULE_ALIAS("spi:rtc-rs5c348"); | 230 | MODULE_ALIAS("spi:rtc-rs5c348"); |
diff --git a/drivers/rtc/rtc-rs5c372.c b/drivers/rtc/rtc-rs5c372.c index 28871cd7e3b5..12270c789088 100644 --- a/drivers/rtc/rtc-rs5c372.c +++ b/drivers/rtc/rtc-rs5c372.c | |||
@@ -16,9 +16,6 @@ | |||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | 18 | ||
19 | #define DRV_VERSION "0.6" | ||
20 | |||
21 | |||
22 | /* | 19 | /* |
23 | * Ricoh has a family of I2C based RTCs, which differ only slightly from | 20 | * Ricoh has a family of I2C based RTCs, which differ only slightly from |
24 | * each other. Differences center on pinout (e.g. how many interrupts, | 21 | * each other. Differences center on pinout (e.g. how many interrupts, |
@@ -640,7 +637,7 @@ static int rs5c372_probe(struct i2c_client *client, | |||
640 | if (rs5c372_get_datetime(client, &tm) < 0) | 637 | if (rs5c372_get_datetime(client, &tm) < 0) |
641 | dev_warn(&client->dev, "clock needs to be set\n"); | 638 | dev_warn(&client->dev, "clock needs to be set\n"); |
642 | 639 | ||
643 | dev_info(&client->dev, "%s found, %s, driver version " DRV_VERSION "\n", | 640 | dev_info(&client->dev, "%s found, %s\n", |
644 | ({ char *s; switch (rs5c372->type) { | 641 | ({ char *s; switch (rs5c372->type) { |
645 | case rtc_r2025sd: s = "r2025sd"; break; | 642 | case rtc_r2025sd: s = "r2025sd"; break; |
646 | case rtc_r2221tl: s = "r2221tl"; break; | 643 | case rtc_r2221tl: s = "r2221tl"; break; |
@@ -696,4 +693,3 @@ MODULE_AUTHOR( | |||
696 | "Paul Mundt <lethal@linux-sh.org>"); | 693 | "Paul Mundt <lethal@linux-sh.org>"); |
697 | MODULE_DESCRIPTION("Ricoh RS5C372 RTC driver"); | 694 | MODULE_DESCRIPTION("Ricoh RS5C372 RTC driver"); |
698 | MODULE_LICENSE("GPL"); | 695 | MODULE_LICENSE("GPL"); |
699 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-rx8581.c b/drivers/rtc/rtc-rx8581.c index 161e25d016c3..0c362a3d1f17 100644 --- a/drivers/rtc/rtc-rx8581.c +++ b/drivers/rtc/rtc-rx8581.c | |||
@@ -18,8 +18,6 @@ | |||
18 | #include <linux/rtc.h> | 18 | #include <linux/rtc.h> |
19 | #include <linux/log2.h> | 19 | #include <linux/log2.h> |
20 | 20 | ||
21 | #define DRV_VERSION "0.1" | ||
22 | |||
23 | #define RX8581_REG_SC 0x00 /* Second in BCD */ | 21 | #define RX8581_REG_SC 0x00 /* Second in BCD */ |
24 | #define RX8581_REG_MN 0x01 /* Minute in BCD */ | 22 | #define RX8581_REG_MN 0x01 /* Minute in BCD */ |
25 | #define RX8581_REG_HR 0x02 /* Hour in BCD */ | 23 | #define RX8581_REG_HR 0x02 /* Hour in BCD */ |
@@ -292,8 +290,6 @@ static int rx8581_probe(struct i2c_client *client, | |||
292 | rx8581->write_block_data = rx8581_write_block_data; | 290 | rx8581->write_block_data = rx8581_write_block_data; |
293 | } | 291 | } |
294 | 292 | ||
295 | dev_info(&client->dev, "chip found, driver version " DRV_VERSION "\n"); | ||
296 | |||
297 | rx8581->rtc = devm_rtc_device_register(&client->dev, | 293 | rx8581->rtc = devm_rtc_device_register(&client->dev, |
298 | rx8581_driver.driver.name, &rx8581_rtc_ops, THIS_MODULE); | 294 | rx8581_driver.driver.name, &rx8581_rtc_ops, THIS_MODULE); |
299 | 295 | ||
@@ -325,4 +321,3 @@ module_i2c_driver(rx8581_driver); | |||
325 | MODULE_AUTHOR("Martyn Welch <martyn.welch@ge.com>"); | 321 | MODULE_AUTHOR("Martyn Welch <martyn.welch@ge.com>"); |
326 | MODULE_DESCRIPTION("Epson RX-8581 RTC driver"); | 322 | MODULE_DESCRIPTION("Epson RX-8581 RTC driver"); |
327 | MODULE_LICENSE("GPL"); | 323 | MODULE_LICENSE("GPL"); |
328 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c index 2b81dd4baf17..a45845a571e5 100644 --- a/drivers/rtc/rtc-sh.c +++ b/drivers/rtc/rtc-sh.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <asm/rtc.h> | 30 | #include <asm/rtc.h> |
31 | 31 | ||
32 | #define DRV_NAME "sh-rtc" | 32 | #define DRV_NAME "sh-rtc" |
33 | #define DRV_VERSION "0.2.3" | ||
34 | 33 | ||
35 | #define RTC_REG(r) ((r) * rtc_reg_size) | 34 | #define RTC_REG(r) ((r) * rtc_reg_size) |
36 | 35 | ||
@@ -790,7 +789,6 @@ static struct platform_driver sh_rtc_platform_driver = { | |||
790 | module_platform_driver_probe(sh_rtc_platform_driver, sh_rtc_probe); | 789 | module_platform_driver_probe(sh_rtc_platform_driver, sh_rtc_probe); |
791 | 790 | ||
792 | MODULE_DESCRIPTION("SuperH on-chip RTC driver"); | 791 | MODULE_DESCRIPTION("SuperH on-chip RTC driver"); |
793 | MODULE_VERSION(DRV_VERSION); | ||
794 | MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>, " | 792 | MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>, " |
795 | "Jamie Lenehan <lenehan@twibble.org>, " | 793 | "Jamie Lenehan <lenehan@twibble.org>, " |
796 | "Angelo Castello <angelo.castello@st.com>"); | 794 | "Angelo Castello <angelo.castello@st.com>"); |
diff --git a/drivers/rtc/rtc-stk17ta8.c b/drivers/rtc/rtc-stk17ta8.c index ba6a83b5b5c9..a456cb6177ea 100644 --- a/drivers/rtc/rtc-stk17ta8.c +++ b/drivers/rtc/rtc-stk17ta8.c | |||
@@ -23,8 +23,6 @@ | |||
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
25 | 25 | ||
26 | #define DRV_VERSION "0.1" | ||
27 | |||
28 | #define RTC_REG_SIZE 0x20000 | 26 | #define RTC_REG_SIZE 0x20000 |
29 | #define RTC_OFFSET 0x1fff0 | 27 | #define RTC_OFFSET 0x1fff0 |
30 | 28 | ||
@@ -366,4 +364,3 @@ module_platform_driver(stk17ta8_rtc_driver); | |||
366 | MODULE_AUTHOR("Thomas Hommel <thomas.hommel@ge.com>"); | 364 | MODULE_AUTHOR("Thomas Hommel <thomas.hommel@ge.com>"); |
367 | MODULE_DESCRIPTION("Simtek STK17TA8 RTC driver"); | 365 | MODULE_DESCRIPTION("Simtek STK17TA8 RTC driver"); |
368 | MODULE_LICENSE("GPL"); | 366 | MODULE_LICENSE("GPL"); |
369 | MODULE_VERSION(DRV_VERSION); | ||
diff --git a/drivers/rtc/rtc-x1205.c b/drivers/rtc/rtc-x1205.c index 5638b7ba8b06..f08f18e4fcdf 100644 --- a/drivers/rtc/rtc-x1205.c +++ b/drivers/rtc/rtc-x1205.c | |||
@@ -24,8 +24,6 @@ | |||
24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
25 | #include <linux/bitops.h> | 25 | #include <linux/bitops.h> |
26 | 26 | ||
27 | #define DRV_VERSION "1.0.8" | ||
28 | |||
29 | /* offsets into CCR area */ | 27 | /* offsets into CCR area */ |
30 | 28 | ||
31 | #define CCR_SEC 0 | 29 | #define CCR_SEC 0 |
@@ -634,8 +632,6 @@ static int x1205_probe(struct i2c_client *client, | |||
634 | if (x1205_validate_client(client) < 0) | 632 | if (x1205_validate_client(client) < 0) |
635 | return -ENODEV; | 633 | return -ENODEV; |
636 | 634 | ||
637 | dev_info(&client->dev, "chip found, driver version " DRV_VERSION "\n"); | ||
638 | |||
639 | rtc = devm_rtc_device_register(&client->dev, x1205_driver.driver.name, | 635 | rtc = devm_rtc_device_register(&client->dev, x1205_driver.driver.name, |
640 | &x1205_rtc_ops, THIS_MODULE); | 636 | &x1205_rtc_ops, THIS_MODULE); |
641 | 637 | ||
@@ -693,4 +689,3 @@ MODULE_AUTHOR( | |||
693 | "Alessandro Zummo <a.zummo@towertech.it>"); | 689 | "Alessandro Zummo <a.zummo@towertech.it>"); |
694 | MODULE_DESCRIPTION("Xicor/Intersil X1205 RTC driver"); | 690 | MODULE_DESCRIPTION("Xicor/Intersil X1205 RTC driver"); |
695 | MODULE_LICENSE("GPL"); | 691 | MODULE_LICENSE("GPL"); |
696 | MODULE_VERSION(DRV_VERSION); | ||