+10
−14
+0
−1
Loading
Using devm_nvmem_register allows to avoid tracking the nvmem pointer in the
rtc_device structure.
This ultimately allows to register multiple nvmem devices from an RTC
driver.
Signed-off-by:
Alexandre Belloni <alexandre.belloni@bootlin.com>