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

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
...@@ -315,7 +315,7 @@ static void i2c_powermac_register_devices(struct i2c_adapter *adap, ...@@ -315,7 +315,7 @@ static void i2c_powermac_register_devices(struct i2c_adapter *adap,
{ {
struct i2c_client *newdev; struct i2c_client *newdev;
struct device_node *node; 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 * In some cases we end up with the via-pmu node itself, in this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment