mtd: denali: use NAND_CI_CELLTYPE_MSK instead of hardcoded constant
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 27 Jul 2013 14:09:53 +0000 (23:09 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:29 +0000 (21:34 +0100)
commit07cc0fbadb8bfcbba57c9035beece608ceee0bd3
tree497686614bb2dda7a3c0b343767c10fe411f9d13
parent52a073bd2c2b005250c4254b747d5ad9b2a089a3
mtd: denali: use NAND_CI_CELLTYPE_MSK instead of hardcoded constant

Use NAND_CI_CELLTYPE_MSK to extract the cell type from nand_chip.cellinfo
instead of hardcoded constant.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/denali.c