Commit 3d740c64 authored by Hugo Villeneuve's avatar Hugo Villeneuve Committed by Alexandre Belloni
Browse files

rtc: pcf2127: lower message severity if setting time fails

parent 720fb4b8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
	}