aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-10-02 05:17:20 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-11-08 08:12:28 -0500
commit3cfcb50b48029d84038208a98d1b85ad0dfa8172 (patch)
tree6c79754fa64daf4f0836b23b8144f811443d10d6
parentf97cfddc886bc8f9d4302447f8773239bed854c1 (diff)
rtc: pcf2127: remove useless driver version
A driver version is only really sensible for oot drivers. Also the dev_info about having found a chip only signals that allocating the driver data succeeded and so isn't worth much. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r--drivers/rtc/rtc-pcf2127.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/rtc/rtc-pcf2127.c b/drivers/rtc/rtc-pcf2127.c
index d83b2d8e3c2b..629bfdf8c745 100644
--- a/drivers/rtc/rtc-pcf2127.c
+++ b/drivers/rtc/rtc-pcf2127.c
@@ -20,8 +20,6 @@
20#include <linux/module.h> 20#include <linux/module.h>
21#include <linux/of.h> 21#include <linux/of.h>
22 22
23#define DRV_VERSION "0.0.1"
24
25#define PCF2127_REG_CTRL1 (0x00) /* Control Register 1 */ 23#define PCF2127_REG_CTRL1 (0x00) /* Control Register 1 */
26#define PCF2127_REG_CTRL2 (0x01) /* Control Register 2 */ 24#define PCF2127_REG_CTRL2 (0x01) /* Control Register 2 */
27 25
@@ -207,8 +205,6 @@ static int pcf2127_probe(struct i2c_client *client,
207 if (!pcf2127) 205 if (!pcf2127)
208 return -ENOMEM; 206 return -ENOMEM;
209 207
210 dev_info(&client->dev, "chip found, driver version " DRV_VERSION "\n");
211
212 i2c_set_clientdata(client, pcf2127); 208 i2c_set_clientdata(client, pcf2127);
213 209
214 pcf2127->rtc = devm_rtc_device_register(&client->dev, 210 pcf2127->rtc = devm_rtc_device_register(&client->dev,
@@ -246,4 +242,3 @@ module_i2c_driver(pcf2127_driver);
246MODULE_AUTHOR("Renaud Cerrato <r.cerrato@til-technologies.fr>"); 242MODULE_AUTHOR("Renaud Cerrato <r.cerrato@til-technologies.fr>");
247MODULE_DESCRIPTION("NXP PCF2127 RTC driver"); 243MODULE_DESCRIPTION("NXP PCF2127 RTC driver");
248MODULE_LICENSE("GPL v2"); 244MODULE_LICENSE("GPL v2");
249MODULE_VERSION(DRV_VERSION);