[PATCH v2 0/2] eeprom: use devres for nvmem providers

From: Bartosz Golaszewski
Date: Wed Sep 12 2018 - 04:05:10 EST


From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

While working on the nvmem framework recently I noticed that there are
many providers that don't use the devm variant of nvmem_register().
This series contains relevant updates for eeprom drivers.

Note that these patches are independent from my other nvmem series[1].

[1] https://lkml.org/lkml/2018/9/12/265

v1 -> v2:
- fix an invalid devm_ free in patch 1

Bartosz Golaszewski (2):
eeprom: eeprom_93xx46: use resource management
eeprom: at25: use devm_nvmem_register()

drivers/misc/eeprom/at25.c | 3 +--
drivers/misc/eeprom/eeprom_93xx46.c | 19 +++++--------------
2 files changed, 6 insertions(+), 16 deletions(-)

--
2.18.0