nvmem: remove the name field from struct nvmem_device
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 21 Sep 2018 13:40:04 +0000 (06:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 13:14:53 +0000 (15:14 +0200)
commit5db652c9f331ce7ae8662d9380ea4a404ba09344
treec68f7b47a15572505b3a57d3afd1de1be9321d1c
parentd7b9fd1669d4a4f38281c4e29f1408e1bdce09b3
nvmem: remove the name field from struct nvmem_device

This field is never set and is only used in a single error message.
Remove the field and use nvmem_dev_name() instead.

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/core.c