commit | a26944149374c19d92f785108b6980f2e54bb517 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Tue Dec 18 22:15:58 2018 +0100 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Tue Dec 18 22:53:32 2018 +0100 |
tree | 13ceec51aed4178457d88eaadd7d4c337ba342de | |
parent | 9a03201170d3de1da47c1b7e2d514e0b15477881 [diff] |
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>