]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1916603730797e41333167a512e28553e32a77d
treed3735a7471f47c1e6d1cb1f0282f80b352f33938
parentbbb680376c37c784c38130f6046e12795d00d81a
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