[PATCH 5.15 20/83] nvmem: core: add error handling for dev_set_name