regulator: core: fix use_count leakage when handling boot-on
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 v5.10.163 by commit 4b737246ff50f810d6ab4be13c1388a07f0c14b1. For more details please see the references link.