PM / devfreq: rockchip_dmc: separate the initialized code of dram
authorFinley Xiao <finley.xiao@rock-chips.com>
Tue, 2 May 2017 09:31:30 +0000 (17:31 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 4 May 2017 04:01:24 +0000 (12:01 +0800)
commit509fc95951169be04598ebda81c2db06342b8b92
tree3d381e265e4e3a07b790aafac8f6a4f09c31dabd
parent7daa21f818b45e2402b5ea5764c17e2ed64e7b81
PM / devfreq: rockchip_dmc: separate the initialized code of dram

It will be easy to compatible with more rockchip platforms,
if move the initialized code of dram into a separated function.

Change-Id: Iad8738b2c0995712723a8e3e84f12ae6b9b2aa91
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
drivers/devfreq/rockchip_dmc.c