rtc: mv: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 15 Mar 2019 13:35:09 +0000 (14:35 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 4 Apr 2019 08:06:41 +0000 (10:06 +0200)
commit5b25a71b68eb9fcdc1c99447fdc4ee3c1d23a64f
tree05ecbdb805686aec5596fe5af516660796c5d40f
parentb67436152959361bd3960b948de61c055ef5cd76
rtc: mv: convert to devm_rtc_allocate_device

This allows further improvement of the driver.

Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mv.c