Subject: + rtc-m41t80-remove-drv_version-macro.patch added to -mm tree To: wsa@xxxxxxxxxxxxxxxxxxxx,a.zummo@xxxxxxxxxxxx,jg1.han@xxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 21 Apr 2014 13:08:49 -0700 The patch titled Subject: drivers/rtc/rtc-m41t80.c: remove DRV_VERSION macro has been added to the -mm tree. Its filename is rtc-m41t80-remove-drv_version-macro.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/rtc-m41t80-remove-drv_version-macro.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/rtc-m41t80-remove-drv_version-macro.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wolfram Sang <wsa@xxxxxxxxxxxxxxxxxxxx> Subject: 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@xxxxxxxxxxxxxxxxxxxx> Cc: Jingoo Han <jg1.han@xxxxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-m41t80.c | 6 ------ 1 file changed, 6 deletions(-) diff -puN drivers/rtc/rtc-m41t80.c~rtc-m41t80-remove-drv_version-macro drivers/rtc/rtc-m41t80.c --- a/drivers/rtc/rtc-m41t80.c~rtc-m41t80-remove-drv_version-macro +++ a/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_clien 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@xxxxxxxxxx>"); MODULE_DESCRIPTION("ST Microelectronics M41T80 series RTC I2C Client Driver"); MODULE_LICENSE("GPL"); -MODULE_VERSION(DRV_VERSION); _ Patches currently in -mm which might be from wsa@xxxxxxxxxxxxxxxxxxxx are rtc-m41t80-remove-drv_version-macro.patch rtc-m41t80-clean-up-error-paths.patch rtc-m41t80-propagate-error-value-from-smbus-functions.patch rtc-m41t80-add-support-for-microcrystal-rv4162.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html