OSDN Git Service

rtc: mrst: switch to devm functions
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 5 Jun 2018 14:18:17 +0000 (16:18 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 5 Jun 2018 19:01:59 +0000 (21:01 +0200)
commit32b41f93dcaf240c4e8241b22dbba6f0dbf4de9d
treeb84646c336a3bae24c9df50d56c46ec9b2c958e5
parent29615d03ccc0f8f01b45178737600810d8bf971f
rtc: mrst: switch to devm functions

Switch to devm managed functions to simplify error handling and device
removal

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