diff options
author | Diego Santa Cruz <Diego.SantaCruz@spinetix.com> | 2020-12-04 00:47:03 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-12-04 12:46:36 +0300 |
commit | 4e302c3b568eaf2aeebba804c07aba5d921a8c9e (patch) | |
tree | 0d6633fd9eb367d34beba515f61f50283d910c4d /lib/test_overflow.c | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) | |
download | linux-4e302c3b568eaf2aeebba804c07aba5d921a8c9e.tar.xz |
misc: eeprom: at24: fix NVMEM name with custom AT24 device name
When the "label" property is set on the AT24 EEPROM the NVMEM devid is
set to NVMEM_DEVID_NONE, but it is not effective since there is a
leftover line setting it back to NVMEM_DEVID_AUTO a few lines after.
Fixes: 61f764c307f6 ("eeprom: at24: Support custom device names for AT24 EEPROMs")
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions