mtd: blkdevs: fix switch-bool compilation warning
authorTomer Barletz <barletz@gmail.com>
Wed, 5 Aug 2015 04:00:24 +0000 (21:00 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 25 Aug 2015 20:58:10 +0000 (13:58 -0700)
commitcc7fce80229067890365c1ee196be5d304d36dea
treed821b66a412263b6a1939eb297e5ade5dba20b7b
parent06bb6f5a69dfc53b79dd5f7afabdcd070a18afbf
mtd: blkdevs: fix switch-bool compilation warning

With gcc 5.1 I get:
warning: switch condition has boolean value [-Wswitch-bool]

Signed-off-by: Tomer Barletz <barletz@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/mtd_blkdevs.c