summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pcf2127.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-01-23 15:14:37 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-01-25 21:55:14 +0100
commit604c521259c8051b7607c000eda7938f7a705d92 (patch)
treeb4e8ff4c1cbf27c4a1fd179c857af3e20d372f81 /drivers/rtc/rtc-pcf2127.c
parent5848ad2f1bcbb1bfbf3db3ee1a51fa5d0994ead6 (diff)
rtc: cmos: Refactor code by using the new dmi_get_bios_year() helper
Refactor code by using the new dmi_get_bios_year() helper instead of open coding its functionality. This also makes logic slightly clearer. No changes intended. Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Guilherme G. Piccoli <gpiccoli@canonical.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20200123131437.28157-3-andriy.shevchenko@linux.intel.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-pcf2127.c')
0 files changed, 0 insertions, 0 deletions