OSDN Git Service

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)
commit0391df74a608e4e65c29ddf80e704edfa8f8ef25
tree8fbce67a61adc86fb7d3e4b7ef022faacd8e9168
parentce1ae8eb83bee42c5a0dbcc01346e41c6e85da43
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