mmc: block: make gen_err a bool variable
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Nov 2016 10:05:17 +0000 (11:05 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:49 +0000 (09:00 +0100)
commitc44d6cefdf36b2c5bd58245eccc793519706a1d4
treedd1893600f917389a3e1f655abfd9cc5cdf77fec
parent92e0c44b92e463a47746b520ea9aa9ef154f27e7
mmc: block: make gen_err a bool variable

This gen_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