]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1343: use generic nvmem
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:38 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:25 +0000 (10:49 +0100)
commit4fd490eb4a5c230a615b470babb375a16c10c516
treeb428c23196e15df43d5dbb7b322b40652cbae228
parent8044a4d2c63d73fb46508886a27f445f5dd610b9
rtc: ds1343: use generic nvmem

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@bootlin.com>
drivers/rtc/rtc-ds1343.c