diff options
author | 2020-11-09 17:34:05 +0100 | |
---|---|---|
committer | 2020-11-19 12:50:11 +0100 | |
commit | 25ece30561d247b2931b0d11d92e9c976a668771 (patch) | |
tree | a45fd54f6e0fa022ed690bbfa511429a0d2bdbc3 /include/linux/rtc.h | |
parent | Documentation: list RTC devres helpers in devres.rst (diff) | |
download | linux-25ece30561d247b2931b0d11d92e9c976a668771.tar.gz linux-25ece30561d247b2931b0d11d92e9c976a668771.tar.bz2 linux-25ece30561d247b2931b0d11d92e9c976a668771.zip |
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
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r-- | include/linux/rtc.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 22d1575e4991..0983ab9faffb 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h @@ -120,10 +120,6 @@ struct rtc_device { bool registered; - /* Old ABI support */ - bool nvram_old_abi; - struct bin_attribute *nvram; - time64_t range_min; timeu64_t range_max; time64_t start_secs; @@ -250,14 +246,12 @@ extern int rtc_hctosys_ret; #ifdef CONFIG_RTC_NVMEM int rtc_nvmem_register(struct rtc_device *rtc, struct nvmem_config *nvmem_config); -void rtc_nvmem_unregister(struct rtc_device *rtc); #else static inline int rtc_nvmem_register(struct rtc_device *rtc, struct nvmem_config *nvmem_config) { return 0; } -static inline void rtc_nvmem_unregister(struct rtc_device *rtc) {} #endif #ifdef CONFIG_RTC_INTF_SYSFS |