Skip to content

Commit 43a96b9

Browse files
Villemoesalexandrebelloni
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent ca03b7a commit 43a96b9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/rtc/rtc-isl12022.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ static int isl12022_rtc_set_time(struct device *dev, struct rtc_time *tm)
173173
/* Check if WRTC (write rtc enable) is set factory default is
174174
* 0 (not set) */
175175
if (!(buf[0] & ISL12022_INT_WRTC)) {
176-
dev_info(&client->dev,
177-
"init write enable and 24 hour format\n");
178-
179176
/* Set the write enable bit. */
180177
ret = isl12022_write_reg(client,
181178
ISL12022_REG_INT,

0 commit comments

Comments
 (0)