i2c: tegra: Fix assignment of boolean variables
authorJon Hunter <jonathanh@nvidia.com>
Tue, 6 Sep 2016 09:50:45 +0000 (10:50 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 8 Sep 2016 20:36:18 +0000 (22:36 +0200)
commitfbf8090b723d4df3cfe18c9491a8bc21ec15a5c0
treef14d4f0ef6bdf904f2275e700830b0bb278b0385
parent77821b4678f93b0b45870c04b7c06c364ed090de
i2c: tegra: Fix assignment of boolean variables

Fix the following warnings reported by coccinelle for the Tegra I2C
driver.

drivers/i2c/busses/i2c-tegra.c:513:2-23: WARNING: Assignment of bool to 0/1
drivers/i2c/busses/i2c-tegra.c:539:3-24: WARNING: Assignment of bool to 0/1

Reported-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-tegra.c