rockchip: rk3288: Convert clock driver to use shifted masks
authorSimon Glass <sjg@chromium.org>
Wed, 31 May 2017 23:57:31 +0000 (17:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 9 Jun 2017 19:45:33 +0000 (13:45 -0600)
commitb223c1aeade5b29c13347354edd1ce4e66f60b7f
tree130497c3d0d34e26a35b5b84598473f974530e87
parented54b1918e7745ec3af59f52e9e51048dfc0ad98
rockchip: rk3288: Convert clock driver to use shifted masks

Shifted masks are the standard approach with rockchip since it allows
use of the mask without shifting it each time. Update the definitions and
the driver to match.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/cru_rk3288.h
drivers/clk/rockchip/clk_rk3288.c