rtc: pic32: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 4 Mar 2019 10:16:30 +0000 (11:16 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 4 Mar 2019 19:21:19 +0000 (20:21 +0100)
commit6515e23b9fdeb9a69caee79f6a71dd6d82125f66
treea1cd171a213bbe64585ba4995fb72533acdad0b0
parent7d1e5bfe17a69cbe60b46bea8a1be51520d514d3
rtc: pic32: convert to devm_rtc_allocate_device

This allows further improvement of the driver.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pic32.c