]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: m25p80: Clean up JEDEC manufacturer checks
authorKevin Cernekee <cernekee@gmail.com>
Sun, 8 May 2011 17:48:00 +0000 (10:48 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:02:30 +0000 (02:02 +0100)
commit9d916a10404f063bdc03d557a62c1d9ed04c00d2
tree383b75dea9fa0f79862c387fb415a118cd80b8be
parent4064f13e63d0933592ab713a0f0a02608fccf876
mtd: m25p80: Clean up JEDEC manufacturer checks

Use the manufacturer ID names from cfi.h instead of hard-coding
hex constants.  Introduce a JEDEC_MFR macro for clarity.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c