clk: mediatek: Add __initdata and __init for data and functions
authorJames Liao <jamesjj.liao@mediatek.com>
Tue, 28 Jul 2015 07:37:34 +0000 (15:37 +0800)
committerJames Liao <jamesjj.liao@mediatek.com>
Thu, 1 Oct 2015 04:04:49 +0000 (12:04 +0800)
commite02940fc9ed323ae512f3ded62abaf9d6a3d3265
tree29d6a642c135c6f6b1e6147855ffd8741b48c73b
parent07d130698b8e1ecf1a72d294b5f89a26fea1ec6f
clk: mediatek: Add __initdata and __init for data and functions

Add __init for clock registration functions, and add __initdata for
mtk_gate_regs initial structures.

Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
drivers/clk/mediatek/clk-gate.c
drivers/clk/mediatek/clk-mt8173.c
drivers/clk/mediatek/clk-mtk.c