Commit de51696c authored by Jason Yan's avatar Jason Yan Committed by Wolfram Sang
Browse files

i2c: powermac: use true,false for bool variable



In i2c_powermac_register_devices(), variable 'found_onyx' is bool and
assigned '0' and 'true' in different places. Use 'false' instead of '0'.

Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 08736e83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -315,7 +315,7 @@ static void i2c_powermac_register_devices(struct i2c_adapter *adap,
{
	struct i2c_client *newdev;
	struct device_node *node;
	bool found_onyx = 0;
	bool found_onyx = false;

	/*
	 * In some cases we end up with the via-pmu node itself, in this