]> 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)
commit39cccb57f4f956b3e63ff6312b9f46e59b5b1fea
tree350f655ffe4e7448e9422f5e9aed01c9b6a80c1b
parent068962c17c8ba07d02bb7546c355c29875fd9d4a
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