diff options
author | John Crispin <blogic@openwrt.org> | 2016-02-19 08:44:08 (GMT) |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2016-04-20 11:03:01 (GMT) |
commit | 41c11f32d86ac1b64c78b827f977432df4934147 (patch) | |
tree | 5878cd0c1a0e1715bcaec8246da706b0fdb9fa64 /mm/compaction.c | |
parent | a397845338af260658f55b2ba73834940244cf6d (diff) | |
download | linux-41c11f32d86ac1b64c78b827f977432df4934147.tar.xz |
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 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions