can: flexcan: do_bus_err(): convert rx_,tx_errors into bool
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 17 Jan 2017 16:33:46 +0000 (17:33 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Feb 2017 14:13:31 +0000 (15:13 +0100)
commitd166f56bf58b64027679905a01001df9ac0764bd
treed110974c482d9c7042d5fefd0fa17966fca2fdce
parenta3c11a7ac6cdd670324df39244ed1d2321bb0c9c
can: flexcan: do_bus_err(): convert rx_,tx_errors into bool

This patch converts the rx_errors and tx_errors from int into bool
values, to reflect their actual meaning.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c