]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: enforce rtc_timer_init private_data type
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Dec 2018 21:11:26 +0000 (22:11 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Dec 2018 21:53:29 +0000 (22:53 +0100)
commit9a03201170d3de1da47c1b7e2d514e0b15477881
tree30e9415bb7fa8fc3a2bb0d81c466b51f41af2459
parentffe1c5a2d4271a0e04e2576ab0a53ac09a14e065
rtc: enforce rtc_timer_init private_data type

All the remaining users of rtc_timers are passing the rtc_device as private
data. Enforce that and rename private_data to rtc.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/class.c
drivers/rtc/interface.c
include/linux/rtc.h