rtc: use more standard kernel logging styles
authorJoe Perches <joe@perches.com>
Thu, 16 Apr 2015 19:46:14 +0000 (12:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:02 +0000 (09:04 -0400)
commita737e835e5769ef22897179ed7f82b1fc50bfa58
treeadf239d0ad61f2d92460ded814da3168aca8d0f7
parentf539a8acf1070557aef9c5df682751ba2af1005f
rtc: use more standard kernel logging styles

Neaten the logging a bit by adding #define pr_fmt

Miscellanea:

o Remove __FILE__/__func__ uses
o Coalesce formats adding missing spaces
o Align arguments
o (rtc-cmos) Integrated 2 consecutive messages

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Joshua Kinard <kumba@gentoo.org>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 files changed:
drivers/rtc/hctosys.c
drivers/rtc/rtc-cmos.c
drivers/rtc/rtc-ds1374.c
drivers/rtc/rtc-ds1685.c
drivers/rtc/rtc-ds3232.c
drivers/rtc/rtc-efi-platform.c
drivers/rtc/rtc-m41t80.c
drivers/rtc/rtc-max77686.c
drivers/rtc/rtc-max8997.c
drivers/rtc/rtc-msm6242.c
drivers/rtc/rtc-opal.c
drivers/rtc/rtc-s5m.c
drivers/rtc/rtc-twl.c