soc: mediatek: PMIC wrap: add wrapper callbacks for init_reg_clock
authorJohn Crispin <blogic@openwrt.org>
Fri, 19 Feb 2016 08:44:07 +0000 (09:44 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 20 Apr 2016 11:03:00 +0000 (13:03 +0200)
commita397845338af260658f55b2ba73834940244cf6d
tree6f9897fe3c57e14ca0be650e552cf7200f1498a3
parent9bebedb054f98b70c798423cba6d9ba903b27d63
soc: mediatek: PMIC wrap: add wrapper callbacks for init_reg_clock

Split init_reg_clock up into SoC specific callbacks. The patch also
reorders the code to avoid the need for callback function prototypes.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c