]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: mpc5121: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 6 Mar 2020 07:44:01 +0000 (08:44 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Mar 2020 10:12:10 +0000 (11:12 +0100)
commit2a2a5f4f5403f10c9f12a2d48a2a05c14f3235c9
treea6e56d945215b27e15eab11c43fc3ef92b31fb70
parent69bb0e6d83f42be06c18f48e5a764c6aeb4b529b
rtc: mpc5121: convert to devm_rtc_allocate_device

This simplifies the path for the rtc_ops selection.

Link: https://lore.kernel.org/r/20200306074404.58909-2-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mpc5121.c