]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commitaa0846534b9c7238187b4276e83efb9969d4c6e3
tree383b75dea9fa0f79862c387fb415a118cd80b8be
parent16004f3685541c57a280bae3fde6562256fd0ba5
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