diff options
| author | Alexandre Belloni <[email protected]> | 2020-11-09 16:34:05 +0000 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2020-11-19 11:50:11 +0000 |
| commit | 25ece30561d247b2931b0d11d92e9c976a668771 (patch) | |
| tree | a45fd54f6e0fa022ed690bbfa511429a0d2bdbc3 /drivers/rtc/class.c | |
| parent | Documentation: list RTC devres helpers in devres.rst (diff) | |
| download | kernel-25ece30561d247b2931b0d11d92e9c976a668771.tar.gz kernel-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 <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/rtc/class.c')
| -rw-r--r-- | drivers/rtc/class.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 7c88d190c51f..a99b7d24b77c 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c @@ -339,8 +339,6 @@ static void devm_rtc_release_device(struct device *dev, void *res) { struct rtc_device *rtc = *(struct rtc_device **)res; - rtc_nvmem_unregister(rtc); - if (rtc->registered) rtc_device_unregister(rtc); else |
