diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2024-10-08 08:36:18 +0900 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-11-10 23:02:43 +0100 |
commit | 49fd6f907f4623fa029a24b21f667b99594438bd (patch) | |
tree | 2ff89e0a6ac4e8575884dcbaed0c883e3fe06b09 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b6cd7adec0cf03f0aefc55676e71dd721cbc71a8 (diff) |
rtc: rtc-mc146818-lib: Use is_leap_year instead of calculate leap years
The is_leap_year() for determining leap year is provided in rtc lib.
This uses is_leap_year() instead of its own leap year determination
routine.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://lore.kernel.org/r/20241007233618.1442937-1-nobuhiro1.iwamatsu@toshiba.co.jp
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions