diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-12-18 22:15:58 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-12-18 22:53:32 +0100 |
commit | a26944149374c19d92f785108b6980f2e54bb517 (patch) | |
tree | 13ceec51aed4178457d88eaadd7d4c337ba342de /drivers/rtc/rtc-pcf2123.c | |
parent | 9a03201170d3de1da47c1b7e2d514e0b15477881 (diff) | |
download | linux-a26944149374c19d92f785108b6980f2e54bb517.tar.gz linux-a26944149374c19d92f785108b6980f2e54bb517.tar.bz2 linux-a26944149374c19d92f785108b6980f2e54bb517.zip |
rtc: class: reimplement devm_rtc_device_register
Implement devm_rtc_device_register using devm_rtc_allocate_device and
__rtc_register_device so there is only one path left to register rtc
devices.
Also mark it as deprecated so new drivers will hopefully use
devm_rtc_allocate_device and rtc_register_device that are less race prone
and allow avoiding the 2038, 2070, 2100 and 2106 bugs properly.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-pcf2123.c')
0 files changed, 0 insertions, 0 deletions