Re: [PATCH 1/1] rtc: fix type information of rtc-proc

Alexandre Belloni
2015-11-11T10:54:54Z

On 11/11/2015 at 09:06:51 +0800, Leizhen (ThunderTown) wrote :
> Hi, all
>
> I'm sorry. Maybe I didn't describe clearly enough before. These words are finally
> shown to the end user. The end user maybe not a programmer, abbreviation word is unsuitable.
>

Yes, that is exactly m point. What if an end user currently has a
program parsing the file and looking for alrm_time or alrm_date? After
updating his kernel, the program won't work anymore which is something
we don't want.

>
> cat /proc/driver/rtc
>
> rtc_time : 00:47:43
> rtc_date : 2015-11-11
> alrm_time : 03:27:58 //alrm_time --> alarm_time
> alrm_date : 2015-10-08 //alrm_date --> alarm_date
> alarm_IRQ : no
> alrm_pending : no //alrm_pending --> alarm_pending
> update IRQ enabled : no
>
>

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering