aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-11-30 02:40:51 -0500
committerStephen Boyd <sboyd@codeaurora.org>2015-11-30 14:36:07 -0500
commit198bb59493f810ece01e56e9694bfdb39b5aa056 (patch)
tree71d969bef97dc2bfcd0a2979d87157adb3820d79
parent07ff73a932b725b2a4675bd0cc1a86b4933e433e (diff)
clk: fix a typo in comment block of clk_notifier_register()
The word "cases" is doubled. Keep decent forms for the following lines. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r--drivers/clk/clk.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 27e99c7c57b9..a66efc9d8bfc 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -2806,10 +2806,9 @@ void __clk_put(struct clk *clk)
2806 * re-enter into the clk framework by calling any top-level clk APIs; 2806 * re-enter into the clk framework by calling any top-level clk APIs;
2807 * this will cause a nested prepare_lock mutex. 2807 * this will cause a nested prepare_lock mutex.
2808 * 2808 *
2809 * In all notification cases cases (pre, post and abort rate change) the 2809 * In all notification cases (pre, post and abort rate change) the original
2810 * original clock rate is passed to the callback via struct 2810 * clock rate is passed to the callback via struct clk_notifier_data.old_rate
2811 * clk_notifier_data.old_rate and the new frequency is passed via struct 2811 * and the new frequency is passed via struct clk_notifier_data.new_rate.
2812 * clk_notifier_data.new_rate.
2813 * 2812 *
2814 * clk_notifier_register() must be called from non-atomic context. 2813 * clk_notifier_register() must be called from non-atomic context.
2815 * Returns -EINVAL if called with null arguments, -ENOMEM upon 2814 * Returns -EINVAL if called with null arguments, -ENOMEM upon