Re: [PATCH v4 18/21] rtc: tegra: Switch to use %ptR

From: Thierry Reding
Date: Wed Nov 28 2018 - 14:48:22 EST


On Wed, Nov 28, 2018 at 09:05:34PM +0200, Andy Shevchenko wrote:
> Use %ptR instead of open coded variant to print content of
> struct rtc_time in human readable format.
>
> Cc: Thierry Reding <thierry.reding@xxxxxxxxx>
> Cc: Jonathan Hunter <jonathanh@xxxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> drivers/rtc/rtc-tegra.c | 30 +++---------------------------
> 1 file changed, 3 insertions(+), 27 deletions(-)

This changes the format of the date and time, but I think it's better to
have the standard format than the existing one. Also, the time is only
printed in debug messages, so nobody should be relying on that specific
format anyway.

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature