[PATCH 5.10 12/57] nvmem: core: add error handling for dev_set_name