OSDN Git Service

rtc: ds1685: use generic nvmem
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 19 Sep 2018 17:52:10 +0000 (19:52 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 28 Sep 2018 12:21:01 +0000 (14:21 +0200)
commit482419e120da6da187be996c6871ed1e8bf02c51
tree25b5d1f4112f394423c27b70a17191b4f6385fb0
parent8ddeb09de163ce4f362c610cd901f9c5ad4f58fd
rtc: ds1685: use generic nvmem

Instead of adding a binary sysfs attribute from the driver, use the core to
register an nvmem device.

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