Unverified Commit aab5fd7a authored by Jason Yan's avatar Jason Yan Committed by Mark Brown
Browse files

regulator: db8500-prcmu: Use true,false for bool variable



Fix the following coccicheck warning:

drivers/regulator/db8500-prcmu.c:184:1-17: WARNING: Assignment of 0/1 to
bool variable

Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200506061726.19289-1-yanaijie@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f0ca7b24
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ static int db8500_regulator_switch_disable(struct regulator_dev *rdev)
		goto out;
	}

	info->is_enabled = 0;
	info->is_enabled = false;
out:
	return ret;
}