clk: composite: allow read-only clocks
authorHeiko Stübner <heiko@sntech.de>
Wed, 2 Jul 2014 23:57:30 +0000 (01:57 +0200)
committerMike Turquette <mturquette@linaro.org>
Sun, 13 Jul 2014 19:17:04 +0000 (12:17 -0700)
commit0c02cf2f1c2ffd75221b43bacb4f02a0e52e014b
treef077dfd8233e422d494a70b3ea9f41671faaa747
parent3eb635f1ca2d25bd11a697f5bdb52ac3d08c240e
clk: composite: allow read-only clocks

This allows readl-only composite clocks by making mux_ops->set_parent and
divider_ops->round_rate/set_rate optional.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-By: Max Schwarz <max.schwarz@online.de>
Tested-By: Max Schwarz <max.schwarz@online.de>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-composite.c