summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk.c
diff options
context:
space:
mode:
authorMasahiro Yamada2015-11-30 08:40:51 +0100
committerStephen Boyd2015-11-30 20:36:07 +0100
commit198bb59493f810ece01e56e9694bfdb39b5aa056 (patch)
tree71d969bef97dc2bfcd0a2979d87157adb3820d79 /drivers/clk/clk.c
parentclk: ti: omap5+: dpll: implement errata i810 (diff)
downloadkernel-qcow2-linux-198bb59493f810ece01e56e9694bfdb39b5aa056.tar.gz
kernel-qcow2-linux-198bb59493f810ece01e56e9694bfdb39b5aa056.tar.xz
kernel-qcow2-linux-198bb59493f810ece01e56e9694bfdb39b5aa056.zip
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>
Diffstat (limited to 'drivers/clk/clk.c')
-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)
* re-enter into the clk framework by calling any top-level clk APIs;
* this will cause a nested prepare_lock mutex.
*
- * In all notification cases cases (pre, post and abort rate change) the
- * original clock rate is passed to the callback via struct
- * clk_notifier_data.old_rate and the new frequency is passed via struct
- * clk_notifier_data.new_rate.
+ * In all notification cases (pre, post and abort rate change) the original
+ * clock rate is passed to the callback via struct clk_notifier_data.old_rate
+ * and the new frequency is passed via struct clk_notifier_data.new_rate.
*
* clk_notifier_register() must be called from non-atomic context.
* Returns -EINVAL if called with null arguments, -ENOMEM upon