Skip to content
Commit 3030cf95 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Matt Turner
Browse files

alpha: rtc: simplify alpha_rtc_init



Use devm_rtc_allocate_device to simplify choosing the rtc_ops in
alpha_rtc_init().

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
parent a104d44b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment