[PATCH 6.1 186/208] nvmem: core: fix cleanup after dev_set_name()