lkml.org 
[lkml]   [2021]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 3/8] rtc: max77686: rename day-of-month defines
    From
    Date
    On 11/10/2021 17:56, Luca Ceresoli wrote:
    > RTC_DATE and REG_RTC_DATE are used for the registers holding the day of
    > month. Rename these constants to mean what they mean.
    >
    > Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
    > ---
    > drivers/rtc/rtc-max77686.c | 16 ++++++++--------
    > include/linux/mfd/max77686-private.h | 4 ++--
    > 2 files changed, 10 insertions(+), 10 deletions(-)
    >
    > diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c
    > index bac52cdea97d..7e765207f28e 100644
    > --- a/drivers/rtc/rtc-max77686.c
    > +++ b/drivers/rtc/rtc-max77686.c
    > @@ -57,7 +57,7 @@ enum {
    > RTC_WEEKDAY,
    > RTC_MONTH,
    > RTC_YEAR,
    > - RTC_DATE,
    > + RTC_MONTHDAY,
    > RTC_NR_TIME
    > };



    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

    Best regards,
    Krzysztof

    \
     
     \ /
      Last update: 2021-10-12 10:13    [W:4.072 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site