mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
rtc: cmos: use generic nvmem
Instead of adding a binary sysfs attribute from the driver, use the core to register an nvmem device. This allows to use the in-kernel interface to access the nvram. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
53d29e0a3a
commit
8b5b7958fd
1 changed files with 30 additions and 43 deletions
Loading…
Add table
Add a link
Reference in a new issue