]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: cmos: use generic nvmem
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:46 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:29 +0000 (10:49 +0100)
commit9916afcedded403e42e522415c205c56e25b3222
tree8d2adf36d1f0ec4287bf92be64794f6662d21165
parentc7d659cca73f8e39b0b8dc8312bfc95ecc6283f3
rtc: cmos: use generic nvmem

Instead of adding a binary sysfs attribute from the driver, use the
core to register an nvmem device. This allows to use the in-kernel
interface to access the nvram.

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