]> 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>
Tue, 15 Oct 2013 20:56:38 +0000 (13:56 -0700)
commit01da63fe2a5ad51aaa0db00dd8984a5731806c86
tree46f20a5eb58c435775ddf811214f0e06910d251d
parent3047f68a15ccec4a6d915e71eccc538a9f56ed53
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