aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorHuang Shijie <[email protected]>2013-09-25 14:58:11 +0800
committerBrian Norris <[email protected]>2013-10-27 16:27:04 -0700
commit7db906b79f69b6ed936a1ef1d788f02e3ad42462 (patch)
treea5ff4e764cc159db07358a90781b48a976ca5e22 /net/lapb/lapb_iface.c
parent1d0ed69ddd714b6e2a974f42896463366923ded6 (diff)
mtd: nand: rename the cellinfo to bits_per_cell
The @cellinfo fields contains unused information, such as write caching, internal chip numbering, etc. But we only use it to check the SLC or MLC. This patch tries to make it more clear and simple, renames the @cellinfo to @bits_per_cell. In order to avoiding the bisect issue, this patch also does the following changes: (0) add a macro NAND_CI_CELLTYPE_SHIFT to avoid the hardcode. (1) add a helper to parse out the cell type : nand_get_bits_per_cell() (2) parse out the cell type for extended-ID chips and the full-id nand chips. Signed-off-by: Huang Shijie <[email protected]> Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions