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)
commit8552b439aba7f32063755d23f79ca27b4d0a3115
tree978904ebdf58c81213b92520c29263823aa8d561
parent802eee95bde72fd0cd0f3a5b2098375a487d1eda
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