diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-11-10 21:29:03 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-11-22 18:10:07 +0100 |
commit | 41c9e132c5cc3e5f28cf44032ff82f7614a42989 (patch) | |
tree | cf3e3e8684653cbdbf78b257f4fd75115ed82bdb /drivers/uio/uio_pci_generic.c | |
parent | rtc: nvmem: use devm_nvmem_register() (diff) | |
download | linux-41c9e132c5cc3e5f28cf44032ff82f7614a42989.tar.xz linux-41c9e132c5cc3e5f28cf44032ff82f7614a42989.zip |
rtc: nvmem: remove nvmem from struct rtc_device
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>
Diffstat (limited to 'drivers/uio/uio_pci_generic.c')
0 files changed, 0 insertions, 0 deletions