diff options
author | John Crispin <blogic@openwrt.org> | 2016-02-19 03:44:08 -0500 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2016-04-20 07:03:01 -0400 |
commit | 41c11f32d86ac1b64c78b827f977432df4934147 (patch) | |
tree | 5878cd0c1a0e1715bcaec8246da706b0fdb9fa64 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | a397845338af260658f55b2ba73834940244cf6d (diff) |
soc: mediatek: PMIC wrap: split SoC specific init into callback
This patch moves the SoC specific wrapper init code into separate callback
to avoid pwrap_init() getting too large. This is done by adding a new
element called init_special to pmic_wrapper_type. Each currently supported
SoC gets its own version of the callback and we copy the code that was
previously inside pwrap_init() to these new callbacks. Finally we point the
2 instances of pmic_wrapper_type at the 2 new functions.
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions