Skip to content
Commit a2694414 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 9a032011
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment