diff options
| author | Alexandre Belloni <[email protected]> | 2018-12-18 22:15:58 +0100 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2018-12-18 22:53:32 +0100 |
| commit | a26944149374c19d92f785108b6980f2e54bb517 (patch) | |
| tree | 13ceec51aed4178457d88eaadd7d4c337ba342de /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| 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 <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions