This series contains a fixup patches to fix possible memleak,
and add error handling of dev_set_name to keep nvmem code
implementation consistent, in addition, it can also avoid
the possibility illegal address access. Thanks!
Gaosheng Cui (2):
nvmem: core: Fix memleak in nvmem_register()
nvmem: core: add error handling for dev_set_name
drivers/nvmem/core.c | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)