]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: davinci: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 5 Mar 2020 21:50:19 +0000 (22:50 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Mar 2020 10:12:09 +0000 (11:12 +0100)
commitf87b7826201bca4ca98a068f289b79cf3fd969cf
tree7e03cf8c8328a050060ee1237a33c159ed3f2f37
parentc3bc23adeebb1e8b73d8cac1d290ce7df510883f
rtc: davinci: convert to devm_rtc_allocate_device

This allows further improvement of the driver. Also remove the unnecessary
error string as the core will already display error messages.

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