Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40456168 authored by David Collins's avatar David Collins Committed by Rohit Vaswani
Browse files

regulator: core: put debugfs consumer handle when unregistering a regulator



Ensure that regulator_put() is called on the core debugfs
consumer pointer for a given regulator when the debugfs interface
is no longer needed.  This includes inside of the
regulator_unregister() function as well as in the error return
path of rdev_init_debugfs().

Change-Id: I10563ae1716f31bdc5840d22633fdbfe278330f1
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 9fbac0b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment