diff options
| author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-03-25 22:26:25 +0300 |
|---|---|---|
| committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 16:02:05 +0400 |
| commit | 1c4c215cbdcbfd08183d82b2953591cd00564422 (patch) | |
| tree | bb43365c3e16e3634a6f53dab61c2e8e6145563b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 3761a6ddacc83e5a6b4482d98fbf212805381486 (diff) | |
| download | linux-1c4c215cbdcbfd08183d82b2953591cd00564422.tar.xz | |
mtd: add new API for handling MTD registration
Lots (nearly all) mtd drivers contain nearly the similar code that
calls parse_mtd_partitions, provides some platform-default values, if
parsing fails, and registers mtd device.
This is an aim to provide single implementation of this scenario:
mtd_device_parse_register() which will handle all this parsing and
defaults.
Artem: amended comments
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions
