Commit e3a76913 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: ds1672: switch debug message to %ptR

Use %ptR to simplify debug message.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 69468320
...@@ -73,10 +73,7 @@ static int ds1672_read_time(struct device *dev, struct rtc_time *tm) ...@@ -73,10 +73,7 @@ static int ds1672_read_time(struct device *dev, struct rtc_time *tm)
rtc_time64_to_tm(time, tm); rtc_time64_to_tm(time, tm);
dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d, " dev_dbg(&client->dev, "%s: tm is %ptR\n", __func__, tm);
"mday=%d, mon=%d, year=%d, wday=%d\n",
__func__, tm->tm_sec, tm->tm_min, tm->tm_hour,
tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment