]> asedeno.scripts.mit.edu Git - linux.git/commit
alpha: rtc: simplify alpha_rtc_init
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 9 Sep 2018 21:15:04 +0000 (23:15 +0200)
committerMatt Turner <mattst88@gmail.com>
Fri, 21 Dec 2018 16:57:57 +0000 (11:57 -0500)
commit3030cf95ab2084678e9d2e0315d29cec80479eb0
tree67e14ee63195e693a08cb8d773a4fee7fbd6b1f0
parenta104d44b183ce34b645bbcc8483d9d39fd488c55
alpha: rtc: simplify alpha_rtc_init

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

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/rtc.c