clk: core: enforce clk_ops consistency
authorMike Turquette <mturquette@linaro.org>
Mon, 26 Mar 2012 23:15:52 +0000 (16:15 -0700)
committerMike Turquette <mturquette@linaro.org>
Tue, 24 Apr 2012 23:37:38 +0000 (16:37 -0700)
commitd4d7e3ddc76c5ae3b4fbd15cb6f30aa78c28d788
tree419f45ad3531d0f1031096f55125c59fa6d065af
parent7452b2191cd55fb3fd6ad65344466ddcdbe4676e
clk: core: enforce clk_ops consistency

Documentation/clk.txt has some handsome ASCII art outlining which
clk_ops are mandatory for a given clock, given the capability of the
hardware.  Enforce those mandates with sanity checks in __clk_init.

Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c