summaryrefslogtreecommitdiffstats
path: root/drivers/clk/rockchip
diff options
context:
space:
mode:
authorMichael Turquette <mturquette@linaro.org>2014-11-25 02:45:33 +0100
committerMichael Turquette <mturquette@linaro.org>2014-11-25 02:45:33 +0100
commitda57b46010dd8d93aabc4c3e8d11751ac617d914 (patch)
tree1fe26ac6679ea8e76276da87582fcb95210974ed /drivers/clk/rockchip
parentclk: hi3620: Move const initdata into correct code section (diff)
parentclk: pxa: fix pxa27x CCCR bit usage (diff)
downloadlinux-da57b46010dd8d93aabc4c3e8d11751ac617d914.tar.xz
linux-da57b46010dd8d93aabc4c3e8d11751ac617d914.zip
Merge branch 'clk-fixes' into clk-next
Diffstat (limited to 'drivers/clk/rockchip')
-rw-r--r--drivers/clk/rockchip/clk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clk/rockchip/clk.c b/drivers/clk/rockchip/clk.c
index dec6f8d6dc13..70559fab36b6 100644
--- a/drivers/clk/rockchip/clk.c
+++ b/drivers/clk/rockchip/clk.c
@@ -90,9 +90,7 @@ static struct clk *rockchip_clk_register_branch(const char *name,
div->width = div_width;
div->lock = lock;
div->table = div_table;
- div_ops = (div_flags & CLK_DIVIDER_READ_ONLY)
- ? &clk_divider_ro_ops
- : &clk_divider_ops;
+ div_ops = &clk_divider_ops;
}
clk = clk_register_composite(NULL, name, parent_names, num_parents,