]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8025: use .set_offset/.read_offset
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 7 Nov 2021 22:54:57 +0000 (23:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Nov 2021 23:45:57 +0000 (00:45 +0100)
commit320eb7c7afc733e8123143b02cd9aae6d4fbbc39
tree0dd5c718afe3717aff01b342797e75ef50d59370
parent9c2be1b33d14fec81edba84eb64d7cc710b09c4d
rtc: rx8025: use .set_offset/.read_offset

The driver has its own sysfs file to adjust the clock. Fortunately, it is
already in pbb, however, the sign it expects is the opposite of what the
RTC core does (which actually aligns with the RTC).

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211107225458.111068-12-alexandre.belloni@bootlin.com
drivers/rtc/rtc-rx8025.c