rtc: rp5c01: use generic nvmem
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:50 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:31 +0000 (10:49 +0100)
commit7335fb9be32409c43d81c806c14220d4fcb0227f
treed3735a7471f47c1e6d1cb1f0282f80b352f33938
parentbcdd559268039d8340d38fa58668393596e29fdc
rtc: rp5c01: 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-rp5c01.c