diff options
author | Brian Norris <computersforpeace@gmail.com> | 2012-09-25 05:40:49 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 16:57:33 +0200 |
commit | 7e74c2d7141e8929049233e28c74cd089f6ae962 (patch) | |
tree | d811df16199367e4ebba1d6a6135cc9783e87c1e /fs/xfs/xfs_attr_leaf.c | |
parent | mtd: nand: remove redundant ID read (diff) | |
download | linux-7e74c2d7141e8929049233e28c74cd089f6ae962.tar.xz linux-7e74c2d7141e8929049233e28c74cd089f6ae962.zip |
mtd: nand: split BB marker options decoding into its own function
When detecting NAND parameters, the code gets a little ugly so that the
logic is obscured. Try to remedy that by moving code to separate functions
that have well-defined purposes.
This patch splits the bad block marker options detection into its own function,
away from the other parameters (e.g., chip size, page size, etc.).
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/xfs/xfs_attr_leaf.c')
0 files changed, 0 insertions, 0 deletions