]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita48eaad964543918d9983b6f134d47512f16c065
treedcbc32ecf87a0903fc6cc975616c3d0b16248f74
parent5cf0590ef9b7f5ff2d5a932ac53b6cfad7f906d1
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