]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: remove nvmem_config
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:34 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:23 +0000 (10:49 +0100)
commitea07a5a340eee53317ddbfc3a7dea7661baacdf6
tree8fbce67a61adc86fb7d3e4b7ef022faacd8e9168
parent6000bbe47fbed79cc08a02be42b06899cd0fcfad
rtc: remove nvmem_config

Because nvmem_config is only used and copied at nvmem registration, remove
it from struct rtc_device.

All the rtc drivers using nvmem are now calling rtc_nvmem_register
directly.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/class.c
include/linux/rtc.h