mtd: cfi_probe: use P_ID_* definitions instead of hardcoded values
authorGuillaume LECERF <glecerf@gmail.com>
Sat, 24 Apr 2010 15:58:07 +0000 (17:58 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 14 May 2010 00:08:19 +0000 (01:08 +0100)
commit58598861227877bb481b9035d2a07283577a2274
tree36640c0a8a9459c6d1d15f024128e1f0286bb0cd
parent54b93a49d8dd90dfb658f21a3316527fe6195106
mtd: cfi_probe: use P_ID_* definitions instead of hardcoded values

Use P_ID_* definitions already in include/linux/mtd/cfi.h instead of the
hardcoded values. Make the code more readable.

Signed-off-by: Guillaume LECERF <glecerf@gmail.com>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/gen_probe.c