]> git.baikalelectronics.ru Git - kernel.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)
commit0ac131a8f983ad3b3385e6d9fd142ea3728ad160
tree30e9415bb7fa8fc3a2bb0d81c466b51f41af2459
parentac1e72404ba6c90e8b788e4aa34e70aa0b4d45d2
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