]> 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)
commit569fb70c6ab6702303c4ad3e35318cea6f5335a1
treeb428c23196e15df43d5dbb7b322b40652cbae228
parentae1d7490874c1026e20a7fdcd2a5a1d007a1c3dd
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