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: Jason Yan <yanaijie@huawei.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Родитель
08736e8307
Коммит
de51696cf5
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче