[PATCH 5.10 090/139] nvmem: core: add error handling for dev_set_name