diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-03-02 05:25:42 -0500 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-03-14 12:08:29 -0400 |
commit | a2892bf4456ef2c57a03b48cf09476bedee140f1 (patch) | |
tree | 997009867f21f9f4317d62bc326f2f0f9fa30c99 /drivers/rtc | |
parent | e0252ec77b5ea6cf4403ba49112bc95378ffe50a (diff) |
rtc: pcf85063: remove useless DRV_VERSION
Since the driver is mainlined there is no use for a separate version
number.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-pcf85063.c | 5 |
1 files changed, 0 insertions, 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 @@ | |||
16 | #include <linux/rtc.h> | 16 | #include <linux/rtc.h> |
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | 18 | ||
19 | #define DRV_VERSION "0.0.1" | ||
20 | |||
21 | #define PCF85063_REG_CTRL1 0x00 /* status */ | 19 | #define PCF85063_REG_CTRL1 0x00 /* status */ |
22 | #define PCF85063_REG_CTRL1_STOP BIT(5) | 20 | #define PCF85063_REG_CTRL1_STOP BIT(5) |
23 | #define PCF85063_REG_CTRL2 0x01 | 21 | #define PCF85063_REG_CTRL2 0x01 |
@@ -182,8 +180,6 @@ static int pcf85063_probe(struct i2c_client *client, | |||
182 | if (!pcf85063) | 180 | if (!pcf85063) |
183 | return -ENOMEM; | 181 | return -ENOMEM; |
184 | 182 | ||
185 | dev_info(&client->dev, "chip found, driver version " DRV_VERSION "\n"); | ||
186 | |||
187 | i2c_set_clientdata(client, pcf85063); | 183 | i2c_set_clientdata(client, pcf85063); |
188 | 184 | ||
189 | pcf85063->rtc = devm_rtc_device_register(&client->dev, | 185 | pcf85063->rtc = devm_rtc_device_register(&client->dev, |
@@ -221,4 +217,3 @@ module_i2c_driver(pcf85063_driver); | |||
221 | MODULE_AUTHOR("Søren Andersen <san@rosetechnology.dk>"); | 217 | MODULE_AUTHOR("Søren Andersen <san@rosetechnology.dk>"); |
222 | MODULE_DESCRIPTION("PCF85063 RTC driver"); | 218 | MODULE_DESCRIPTION("PCF85063 RTC driver"); |
223 | MODULE_LICENSE("GPL"); | 219 | MODULE_LICENSE("GPL"); |
224 | MODULE_VERSION(DRV_VERSION); | ||