rtc: ds1742: switch to rtc_register_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:47 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:29 +0000 (10:49 +0100)
commit1358e7b2b3312372ba231f6c94902a8dbfc7d2db
tree4bb9bcc4c30e32e83e2cd290d2c6b42c6ecdc759
parent8b5b7958fd1cac54bdca62ec5552c6be0b38def4
rtc: ds1742: switch to rtc_register_device

This allows for future improvement of the driver.

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