]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: rv8803: use generic nvmem support
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 6 Jul 2017 09:42:04 +0000 (11:42 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Jul 2017 11:14:18 +0000 (13:14 +0200)
commit16d70a78b45a65c88a3c614ebadbf2589f6f8efe
tree33442c408c202a973081813254f51e5a46323478
parent7133eca19505defed19b1337f46b2cd5f7608814
rtc: rv8803: use generic nvmem support

Instead of adding a binary sysfs attribute from the driver (which suffers
from a race condition as the attribute appears after the device), use the
core to register an nvmem device.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rv8803.c