diff options
author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2023-06-22 17:57:46 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-07-27 23:54:51 +0300 |
commit | 3d740c647ff8b77b2a560ebd95ac746c46f49ed4 (patch) | |
tree | 5c44675fd9a76e41973bf0a187009420413f9dd6 /drivers | |
parent | 720fb4b83b565c7ae31059620e960ecbf5dc73a3 (diff) | |
download | linux-3d740c647ff8b77b2a560ebd95ac746c46f49ed4.tar.xz |
rtc: pcf2127: lower message severity if setting time fails
Noted while reviewing new PCF2131 driver.
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20230622145800.2442116-4-hugo@hugovil.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rtc/rtc-pcf2127.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-pcf2127.c b/drivers/rtc/rtc-pcf2127.c index 3332d26aee11..2a4d980bb7d5 100644 --- a/drivers/rtc/rtc-pcf2127.c +++ b/drivers/rtc/rtc-pcf2127.c @@ -181,8 +181,7 @@ static int pcf2127_rtc_set_time(struct device *dev, struct rtc_time *tm) /* write register's data */ err = regmap_bulk_write(pcf2127->regmap, PCF2127_REG_SC, buf, i); if (err) { - dev_err(dev, - "%s: err=%d", __func__, err); + dev_dbg(dev, "%s: err=%d", __func__, err); return err; } |