mmc: block: convert ecc_err to a bool
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Nov 2016 10:05:18 +0000 (11:05 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:50 +0000 (09:00 +0100)
commit2cc64587089fa73b6a8470dde4a1c704beca4920
tree9cb382deb5f1acf8fe21a95ae6a88cce24c84d90
parentc44d6cefdf36b2c5bd58245eccc793519706a1d4
mmc: block: convert ecc_err to a bool

The ecc_err flag is only assigned 0 or 1 and treated as a bool,
so convert it to a bool.

Cc: Chunyan Zhang <zhang.chunyan@linaro.org>
Cc: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c