diff options
author | Yang Li <abaci-bugfix@linux.alibaba.com> | 2021-01-15 17:51:21 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-02-01 11:54:47 +0100 |
commit | eab234fce3334fd876558b6027ef2830ea559ad7 (patch) | |
tree | 8973e4cc2d950ac66049f53c75586222fc968628 /drivers/mtd/sm_ftl.c | |
parent | 6b1dc6229aecbcb45e8901576684a8c09e25ad7b (diff) |
mmc: omap_hsmmc: Simplify bool comparison and conversion
Fix the following coccicheck warning:
./drivers/mmc/host/omap_hsmmc.c:297:6-25: WARNING: Comparison of 0/1 to
bool variable
According to the context, vqmmc_enabled is more suitable for bool type.
Reported-by: Abaci Robot<abaci@linux.alibaba.com>
Signed-off-by: Yang Li <abaci-bugfix@linux.alibaba.com>
Link: https://lore.kernel.org/r/1610704281-11036-1-git-send-email-abaci-bugfix@linux.alibaba.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mtd/sm_ftl.c')
0 files changed, 0 insertions, 0 deletions