nvmem: mxs-ocotp: use devm_nvmem_register()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 21 Sep 2018 13:40:12 +0000 (06:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 13:14:54 +0000 (15:14 +0200)
commit7d9f9f24fac774ead58137dff13aa1f74eb5dd10
treebe8c38c13d1c6af50c266c2f4498fda7ba4bac95
parent226014d13fa5aa8d26caeebbd47d12ffd0a3c399
nvmem: mxs-ocotp: 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/nvmem/mxs-ocotp.c