Re: [PATCH 1/4] rtc-lib: Add rtc_show_time(const char *prefix_msg)

From: Mark Salyzyn
Date: Tue Jul 18 2017 - 16:08:45 EST


On 07/18/2017 01:00 PM, Mark Salyzyn wrote:
On 07/18/2017 10:52 AM, Alexandre Belloni wrote:
Hi,

On 18/07/2017 at 10:25:23 -0700, Mark Salyzyn wrote:
. . .
Apart from using rtc_time_to_tm (and you should probably use
rtc_time64_to_tm), none of this is actually related to the RTC
subsystem. I feel like you should find another place to put that, maybe
timekeeping_debug.c?
Makes a lot of sense!

-- Mark

Ooops, timekeeping_debug.c is currently only to support a debugfs node. Perhaps a _new_ file in that hierarchy like kernel/time/rtc_show_time.c.

-- Mark