aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-isl12022.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2022-09-21 13:46:18 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-10-13 00:17:21 +0200
commit43a96b9cf67770d4bb46267e1554d3d8b4cf78ac (patch)
treeefe140492e37d01cf021a920d6edd1a6341800d2 /drivers/rtc/rtc-isl12022.c
parentrtc: isl12022: specify range_min and range_max (diff)
downloadlinux-dev-43a96b9cf67770d4bb46267e1554d3d8b4cf78ac.tar.xz
linux-dev-43a96b9cf67770d4bb46267e1554d3d8b4cf78ac.zip
rtc: isl12022: drop a dev_info()
This dev_info() seems to be a debug leftover, and it would only get printed once (or, once per battery change). Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Link: https://lore.kernel.org/r/20220921114624.3250848-4-linux@rasmusvillemoes.dk Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-isl12022.c')
-rw-r--r--drivers/rtc/rtc-isl12022.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c
index 3bc197f5548f..2fc9fbefc6fc 100644
--- a/drivers/rtc/rtc-isl12022.c
+++ b/drivers/rtc/rtc-isl12022.c
@@ -173,9 +173,6 @@ static int isl12022_rtc_set_time(struct device *dev, struct rtc_time *tm)
/* Check if WRTC (write rtc enable) is set factory default is
* 0 (not set) */
if (!(buf[0] & ISL12022_INT_WRTC)) {
- dev_info(&client->dev,
- "init write enable and 24 hour format\n");
-
/* Set the write enable bit. */
ret = isl12022_write_reg(client,
ISL12022_REG_INT,