nvmem: lpc18xx_eeprom: use devm_nvmem_register()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 21 Sep 2018 13:40:11 +0000 (06:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 13:14:54 +0000 (15:14 +0200)
commit226014d13fa5aa8d26caeebbd47d12ffd0a3c399
tree509f5e720700191d71e0ff27a00557a18f71d3be
parent6eed8dd9a513223185b62dd725fd35db60db7217
nvmem: lpc18xx_eeprom: use devm_nvmem_register()

Use the managed version of nvmem_register().

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/lpc18xx_eeprom.c