]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: add a helper to check the SLC/MLC nand chip
authorHuang Shijie <b32955@freescale.com>
Wed, 25 Sep 2013 06:58:10 +0000 (14:58 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 27 Oct 2013 23:27:04 +0000 (16:27 -0700)
commit1d0ed69ddd714b6e2a974f42896463366923ded6
tree958946ae1a2823cea55b6a1a4d4e4417faa6896b
parent4ae7d228d6048d25a16bee209ebea24c5ecde825
mtd: nand: add a helper to check the SLC/MLC nand chip

Add a helper to check if a nand chip is SLC or MLC.
This helper makes the code more readable.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/denali.c
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h