eeprom: at25: use devm_nvmem_register()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 21 Sep 2018 13:40:02 +0000 (06:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 13:14:53 +0000 (15:14 +0200)
commit96d08fb43e30bb55fa1a76953097cf043807837b
tree928ec97c7d2a9b2f723f5cbdbdfa0e5a5ae82c42
parentc853d6904f1428c081de5367da2569933556a668
eeprom: at25: use devm_nvmem_register()

Use the resource managed variant 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/misc/eeprom/at25.c