diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-12-04 22:23:12 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-12-10 22:39:37 +0100 |
commit | 5548cbf7f148b9a039b19fa4697f1b9beaba2c78 (patch) | |
tree | d061de9fb7217922bb26d9c008729d26b0d6eb93 /drivers/rtc/rtc-at91rm9200.c | |
parent | lib/vsprintf: Print time and date in human readable format via %pt (diff) | |
download | linux-5548cbf7f148b9a039b19fa4697f1b9beaba2c78.tar.xz linux-5548cbf7f148b9a039b19fa4697f1b9beaba2c78.zip |
rtc: Switch to use %ptR
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Note, we drop the validation option. This is only used in
a deprecated ABI and is mostly wrong as many RTCs will still be valid
after 2100.
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-at91rm9200.c')
0 files changed, 0 insertions, 0 deletions