rockchip: sdram: Use syscon_get_first_range() where possible
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:45:11 +0000 (19:45 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:37 +0000 (20:42 -0700)
commit2460d18c3383b7b024566dd60bf6a725ae37a661
tree7ee735e133808f93018ce9dbea311ee23028e2ca
parent9368104d2fb41e47b360f4a2b1f59b501f57a7e8
rockchip: sdram: Use syscon_get_first_range() where possible

This is a shortcut to obtaining a register address. Use it where possible, to
simplify the code.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c