rtc: nvmem: remove nvram ABI
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 9 Nov 2020 16:34:05 +0000 (17:34 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 19 Nov 2020 11:50:11 +0000 (12:50 +0100)
commit25ece30561d247b2931b0d11d92e9c976a668771
treea45fd54f6e0fa022ed690bbfa511429a0d2bdbc3
parent4d49ffc7a20dd0b05efb82fbf5b52d7aa57e9f4b
rtc: nvmem: remove nvram ABI

The nvram sysfs attributes have been deprecated at least since v4.13, more
than 3 years ago and nobody ever complained about the deprecation warning.

Remove the sysfs attributes now.

[Bartosz: remove the declaration of rtc_nvmem_unregister()]

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20201109163409.24301-5-brgl@bgdev.pl
17 files changed:
drivers/rtc/class.c
drivers/rtc/nvmem.c
drivers/rtc/rtc-cmos.c
drivers/rtc/rtc-ds1305.c
drivers/rtc/rtc-ds1307.c
drivers/rtc/rtc-ds1343.c
drivers/rtc/rtc-ds1511.c
drivers/rtc/rtc-ds1553.c
drivers/rtc/rtc-ds1685.c
drivers/rtc/rtc-ds1742.c
drivers/rtc/rtc-m48t59.c
drivers/rtc/rtc-m48t86.c
drivers/rtc/rtc-rp5c01.c
drivers/rtc/rtc-rv8803.c
drivers/rtc/rtc-stk17ta8.c
drivers/rtc/rtc-tx4939.c
include/linux/rtc.h