commit | 41c9e132c5cc3e5f28cf44032ff82f7614a42989 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Sat Nov 10 21:29:03 2018 +0100 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Nov 22 18:10:07 2018 +0100 |
tree | cf3e3e8684653cbdbf78b257f4fd75115ed82bdb | |
parent | 461e557b97277b693cd8008c32a9d01c7f8f453b [diff] |
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>