[PATCH v3 08/12] soc: mediatek: avoid using fixed spm power status defines

2017-03-19 Thread Mars Cheng
Use variables to replace fixed defines since the offset of the status of spm power might be different for some chips Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- drivers/soc/mediatek/mtk-scpsys.c | 33

[PATCH v3 08/12] soc: mediatek: avoid using fixed spm power status defines

2017-03-19 Thread Mars Cheng
Use variables to replace fixed defines since the offset of the status of spm power might be different for some chips Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- drivers/soc/mediatek/mtk-scpsys.c | 33 +++-- 1 file changed, 27 insertions(+), 6