rtc: ds2404: simplify .probe and remove .remove
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 19 Apr 2019 08:25:01 +0000 (10:25 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 19 Apr 2019 20:37:17 +0000 (22:37 +0200)
commitd9aa5ca429ad30dde96e5966173d18004f16f312
treedcbc32ecf87a0903fc6cc975616c3d0b16248f74
parentc7ac260fe76fa69caa62fe8e7eef544f7962bf33
rtc: ds2404: simplify .probe and remove .remove

Use devm_add_action_or_reset to simplify .probe and remove .remove

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