diff options
author | Florian Fainelli <ffainelli@freebox.fr> | 2010-09-01 22:28:59 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-24 23:46:52 +0100 |
commit | 6fb277ba847f37489dc22adffed700e0c3ea3acf (patch) | |
tree | 10d813ba68b42b1b0f96a3ebe7281114760260d7 /fs/binfmt_flat.c | |
parent | d1e1f4e42b5df063712ca2926e50c07b95c96b96 (diff) | |
download | linux-6fb277ba847f37489dc22adffed700e0c3ea3acf.tar.bz2 |
mtd: nand: split ONFI detection logic to its own function
In order to reduce the indentation and improve the readability of nand_get_
flash_type, split the ONFI detection logic to its own function. The detection
logic inside nand_flash_detect_onfi is also rewritten to allow for less
indentation.
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions