rtc: tx4939: use generic nvmem
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:59 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:35 +0000 (10:49 +0100)
commitdd888c61c9d4ef54d5a9884226989e3cceaacbd3
tree3ce4b109fc911597fa84e783d252a070031f3328
parenta2fa9b8e5abc7d16d5617996638f796fbd61cbb2
rtc: tx4939: 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-tx4939.c