power: supply: fix residue sysfs file in error handle route of __power_supply_register()
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.0.16 by commit 6fca9622731d6cc7647970da81c268799e7f9540, it was introduced in version v3.13 by commit 80c6463e2fa3377febfc98a6672d92d07f3c26c1. For more details please see the references link.