rtc: isl12022: drop a dev_info()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 21 Sep 2022 11:46:18 +0000 (13:46 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 12 Oct 2022 22:17:21 +0000 (00:17 +0200)
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>
drivers/rtc/rtc-isl12022.c

index 3bc197f..2fc9fbe 100644 (file)
@@ -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,