]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: max77686: Cleanup and reduce dmesg output
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 27 Jan 2016 06:46:11 +0000 (15:46 +0900)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 4 Feb 2016 22:44:15 +0000 (23:44 +0100)
commit941f0c1fe49ce35f9cbd0b6516da9593e563ae6d
tree350f655ffe4e7448e9422f5e9aed01c9b6a80c1b
parente8fb1ed2255b02ab8ab41a584175a606a47e3533
rtc: max77686: Cleanup and reduce dmesg output

Cleanup of entire driver of its dmesg output:
1. Remove printing of the function name, because printing device name is
   sufficient. This also makes the dev_err()-like functions more compact
   and readable (not need of line break).
2. Lower from info to debug printing of each RTC interrupt (no need to
   make noise on each alarm).
3. Remove dev_info() at beginning of probe because a message is already
   always printed by either probe failure or from registering the RTC
   device as /dev/rtcX.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-max77686.c