Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1347931
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] rtc: pcf85063: remove useless DRV_VERSION |
| Date | 2016-03-02 11:30 +0100 |
| Message-ID | <r8ccz-6iu-19@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Since the driver is mainlined there is no use for a separate version
number.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
drivers/rtc/rtc-pcf85063.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/rtc/rtc-pcf85063.c b/drivers/rtc/rtc-pcf85063.c
index 4e940cc3d782..550f67518c5a 100644
--- a/drivers/rtc/rtc-pcf85063.c
+++ b/drivers/rtc/rtc-pcf85063.c
@@ -16,8 +16,6 @@
#include <linux/rtc.h>
#include <linux/module.h>
-#define DRV_VERSION "0.0.1"
-
#define PCF85063_REG_CTRL1 0x00 /* status */
#define PCF85063_REG_CTRL1_STOP BIT(5)
#define PCF85063_REG_CTRL2 0x01
@@ -182,8 +180,6 @@ static int pcf85063_probe(struct i2c_client *client,
if (!pcf85063)
return -ENOMEM;
- dev_info(&client->dev, "chip found, driver version " DRV_VERSION "\n");
-
i2c_set_clientdata(client, pcf85063);
pcf85063->rtc = devm_rtc_device_register(&client->dev,
@@ -221,4 +217,3 @@ module_i2c_driver(pcf85063_driver);
MODULE_AUTHOR("Søren Andersen <san@rosetechnology.dk>");
MODULE_DESCRIPTION("PCF85063 RTC driver");
MODULE_LICENSE("GPL");
-MODULE_VERSION(DRV_VERSION);
--
2.7.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/2] rtc: pcf85063: remove useless DRV_VERSION Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-02 11:30 +0100
[PATCH 2/2] rtc: pcf85063: remove struct pcf85063 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-02 11:30 +0100
Re: [PATCH 2/2] rtc: pcf85063: remove struct pcf85063 Juergen Borleis <jbe@pengutronix.de> - 2016-03-03 16:20 +0100
csiph-web