]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1307: call rtc_nvmem_register()
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:22 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:16 +0000 (10:49 +0100)
commit6a9a572e9853978dd04bf5622c20f84918d5b00d
treedf9c00b081aba11d0a0f826e9191da1ca9b57000
parent18327b9194b2a54c1b3d5e41e65a4f09625251a5
rtc: ds1307: call rtc_nvmem_register()

Call rtc_nvmem_register instead of letting the core do it and stop using
the nvmem_config member of struct rtc_device.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1307.c