]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: mtd: m25p80: convert "bool" read check into an enum
authorSourav Poddar <sourav.poddar@ti.com>
Wed, 6 Nov 2013 14:35:34 +0000 (20:05 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:07 +0000 (11:22 -0800)
commit44cd42908ebc6dce2c73f7afa03f3f59d255253f
tree978904ebdf58c81213b92520c29263823aa8d561
parent82efeea4b22a7d1b1846300f056938d7e42bdcd2
drivers: mtd: m25p80: convert "bool" read check into an enum

This is a cleanup prior to adding quad read support. This will facilitate
easy addition of more read commands check under an enum rather that defining a
separate bool for it.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/m25p80.c