diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-01-23 15:14:37 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-01-25 21:55:14 +0100 |
commit | 604c521259c8051b7607c000eda7938f7a705d92 (patch) | |
tree | b4e8ff4c1cbf27c4a1fd179c857af3e20d372f81 /block/scsi_ioctl.c | |
parent | 5848ad2f1bcbb1bfbf3db3ee1a51fa5d0994ead6 (diff) | |
download | talos-op-linux-604c521259c8051b7607c000eda7938f7a705d92.tar.gz talos-op-linux-604c521259c8051b7607c000eda7938f7a705d92.zip |
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 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions