rtc: rx8025: use rtc_add_group
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 7 Nov 2021 22:54:56 +0000 (23:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Nov 2021 23:45:57 +0000 (00:45 +0100)
commit3d35840dfb75ac1a87dfbbddc9446b17446c2473
tree6b075b4d894685d27c2b9f67724ac4572b3c1913
parent5be3933fea2e9de50655f3cd3cda23184e8bf6bb
rtc: rx8025: use rtc_add_group

Remove open coded sysfs registration by using rtc_add_group.

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