From: Jason Yan Date: Sun, 26 Apr 2020 09:42:28 +0000 (+0800) Subject: i2c: powermac: use true,false for bool variable X-Git-Tag: v5.15~3567^2~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de51696cf5ec9dc834b35b343c45e90091755d06;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Wolfram Sang --- diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c index 81506c2..3e38e11 100644 --- a/drivers/i2c/busses/i2c-powermac.c +++ b/drivers/i2c/busses/i2c-powermac.c @@ -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