nvmem: core: fix cleanup after dev_set_name()
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.
This ID is fixed in Linux Kernel version v6.1.11 by commit 39708bc8da7858de0bed9b3a88b3beb1d1e0b443, it was introduced in version v6.1 by commit 5544e90c81261e82e02bbf7c6015a4b9c8c825ef. For more details please see the references link.