i2c: powermac: use true,false for bool variable
authorJason Yan <yanaijie@huawei.com>
Sun, 26 Apr 2020 09:42:28 +0000 (17:42 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 30 Apr 2020 14:18:30 +0000 (16:18 +0200)
commitde51696cf5ec9dc834b35b343c45e90091755d06
treed5f48e110c2a48aceb4ab37b5de77713413a47cc
parent08736e83079929bdbff8ba91c6bdb3d3e57e0abd
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>
drivers/i2c/busses/i2c-powermac.c