]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: m48t86: call rtc_nvmem_register()
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:26 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:18 +0000 (10:49 +0100)
commitbd16505a5884d7c12806b69b38c526f791b8b462
treec4cf6f13f867f2a471d3a0c323de6556fa7bf031
parent4be5eefd8bcd6e8886ae4d7c01b9932f16ad33d7
rtc: m48t86: 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-m48t86.c