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

Commit a572e1c7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "regulator: core: correct double remove in rdev_deinit_debugfs"

parents 44bf2cc1 6e223e40
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3948,6 +3948,7 @@ static void rdev_deinit_debugfs(struct regulator_dev *rdev)
{
	if (!IS_ERR_OR_NULL(rdev)) {
		debugfs_remove_recursive(rdev->debugfs);
		rdev->debug_consumer->debugfs = NULL;
		regulator_put(rdev->debug_consumer);
	}
}