]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: stk17ta8: use generic nvmem
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:54 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:33 +0000 (10:49 +0100)
commitba0df3128eae644f20aa286c8ee6b8160879f315
tree90bc51697340f50477fafeffd3444e7a96418f68
parenta71709cb852fb5702a6d3cd2fe042be942956ff6
rtc: stk17ta8: 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-stk17ta8.c