rtc: nvmem: use devm_nvmem_register()
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 10 Nov 2018 20:29:02 +0000 (21:29 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 22 Nov 2018 17:10:04 +0000 (18:10 +0100)
commit461e557b97277b693cd8008c32a9d01c7f8f453b
tree4260048f1a363407c41c28cd8f7a06e7430eb932
parentb28cc6cec3d814f5184cbebb2d1f987e769f534a
rtc: nvmem: use devm_nvmem_register()

Use the resource managed variant of nvmem_register().

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/nvmem.c