mtd: nand_ids: introduce helper macros
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Mar 2013 13:39:18 +0000 (15:39 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 11:03:47 +0000 (12:03 +0100)
commit8dbfae1ef04311ba19d6b6c9a4d8fdddbb90ab0f
tree27735e4b90a56ad97635303ceb8ecb6178816c9a
parent51148f1fb0835fc87ab3630d191dc3c880d4d0af
mtd: nand_ids: introduce helper macros

Introduce helper macros for defining NAND chips. These macros do not really add
much value in the current code-base. However, we are going to add full ID
support which adds some more complexity to the table, and helper macros become
useful for readability.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_ids.c
drivers/mtd/nand/sm_common.c
include/linux/mtd/nand.h