]> git.baikalelectronics.ru Git - kernel.git/commit
clk: fixed: Add comment to clk_fixed_set_rate
authorDaniel Thompson <daniel.thompson@linaro.org>
Wed, 10 Jun 2015 20:04:54 +0000 (21:04 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 10 Jun 2015 21:19:43 +0000 (14:19 -0700)
commit86251dd4b2bba85c5c7abe174d707ee4d3b9c61e
tree84af70ca39344f3446e196ff0bd0929e9481eaa7
parent59e034b436f6b9eb7742188855f7fc1133332116
clk: fixed: Add comment to clk_fixed_set_rate

Currently it is not made explicit why clk_fixed_set_rate() can ignore
its arguments and unconditionally return success. Add a comment
to explain this.

We also mark the clk_ops table const since it should never be
modified at runtime.

Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-fixed-factor.c
include/linux/clk-provider.h