aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2012-09-24 20:40:49 -0700
committerDavid Woodhouse <[email protected]>2012-09-29 15:57:33 +0100
commit7e74c2d7141e8929049233e28c74cd089f6ae962 (patch)
treed811df16199367e4ebba1d6a6135cc9783e87c1e /tools/perf/util/trace-event-scripting.c
parent4aef9b78de057349ad9d620851b14800af0b962c (diff)
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 <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions