[PATCH 5.15 21/83] nvmem: core: fix cleanup after dev_set_name()