aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-m41t80.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@sang-engineering.com>2014-06-06 14:35:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 16:08:07 -0700
commit5028578595e761a3e418092e04db2ebf6c752a3f (patch)
tree0d6f847768eb6dc1c6231944c0241d34780a11ff /drivers/rtc/rtc-m41t80.c
parentarm64: add APM X-Gene SoC RTC DTS entry (diff)
downloadlinux-dev-5028578595e761a3e418092e04db2ebf6c752a3f.tar.xz
linux-dev-5028578595e761a3e418092e04db2ebf6c752a3f.zip
drivers/rtc/rtc-m41t80.c: remove DRV_VERSION macro
History is in git, no need for sperate versioning. Also remove the success printout, RTC core does it, too. Signed-off-by: Wolfram Sang <wsa@sang-engineering.com> Cc: Jingoo Han <jg1.han@samsung.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-m41t80.c')
-rw-r--r--drivers/rtc/rtc-m41t80.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c
index a5248aa1abf1..c287c6d5d1a9 100644
--- a/drivers/rtc/rtc-m41t80.c
+++ b/drivers/rtc/rtc-m41t80.c
@@ -66,8 +66,6 @@
#define M41T80_FEATURE_WD (1 << 3) /* Extra watchdog resolution */
#define M41T80_FEATURE_SQ_ALT (1 << 4) /* RSx bits are in reg 4 */
-#define DRV_VERSION "0.05"
-
static DEFINE_MUTEX(m41t80_rtc_mutex);
static const struct i2c_device_id m41t80_id[] = {
{ "m41t62", M41T80_FEATURE_SQ | M41T80_FEATURE_SQ_ALT },
@@ -634,9 +632,6 @@ static int m41t80_probe(struct i2c_client *client,
goto exit;
}
- dev_info(&client->dev,
- "chip found, driver version " DRV_VERSION "\n");
-
clientdata = devm_kzalloc(&client->dev, sizeof(*clientdata),
GFP_KERNEL);
if (!clientdata) {
@@ -750,4 +745,3 @@ module_i2c_driver(m41t80_driver);
MODULE_AUTHOR("Alexander Bigga <ab@mycable.de>");
MODULE_DESCRIPTION("ST Microelectronics M41T80 series RTC I2C Client Driver");
MODULE_LICENSE("GPL");
-MODULE_VERSION(DRV_VERSION);