clk: max77686: Provide .recalc_rate() operation
authorTomasz Figa <t.figa@samsung.com>
Thu, 12 Dec 2013 16:07:15 +0000 (17:07 +0100)
committerMike Turquette <mturquette@linaro.org>
Wed, 8 Jan 2014 17:46:03 +0000 (09:46 -0800)
commitcf7d4a6f845ea9e57fb6dacccf823b7c7eff4e8a
tree21cfb9283bb05221e86cc3b25cf6596fe3c8eae5
parent21c8ed2dc05bc5477d55000c5e96a4f3e95f408e
clk: max77686: Provide .recalc_rate() operation

It is usually nice to know frequency of a clock, so this patch adds a
.recalc_rate() callback returning rates of provided clocks.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-max77686.c