rtc: at91sam9: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 20 Mar 2019 12:40:38 +0000 (13:40 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 4 Apr 2019 08:07:09 +0000 (10:07 +0200)
commit6c7293e7290a0baeb3017020564d929df2132efd
tree4e7416bd1c706d5dcd5695577d156f710516cdbd
parent1a76a77c8800a50b98bd38b7b1ffec32fe107bc1
rtc: at91sam9: convert to devm_rtc_allocate_device

This allows further improvement of the driver.

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-at91sam9.c