[PATCH 5.10 092/139] nvmem: core: fix cleanup after dev_set_name()