aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-05-01 06:56:08 -0400
committerStephen Boyd <sboyd@codeaurora.org>2016-05-02 20:52:03 -0400
commitc47265ad64fa793657ce7ecf1a8f636c794e9f40 (patch)
tree1d112514ef4d73ca21c51a8c0abcf896933ac4fb
parent71a553cfa6325f82bf69d5626cdabd628ac05247 (diff)
clk: fix comment of devm_clk_hw_register()
Unlike devm_clk_register(), devm_clk_hw_register() returns integer. So, the statement "Clocks returned from this function ..." sounds odd. Adjust the comment for this new API. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r--drivers/clk/clk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index ba1c3647fbf8..ce39add5a258 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -2719,7 +2719,7 @@ EXPORT_SYMBOL_GPL(devm_clk_register);
2719 * @dev: device that is registering this clock 2719 * @dev: device that is registering this clock
2720 * @hw: link to hardware-specific clock data 2720 * @hw: link to hardware-specific clock data
2721 * 2721 *
2722 * Managed clk_hw_register(). Clocks returned from this function are 2722 * Managed clk_hw_register(). Clocks registered by this function are
2723 * automatically clk_hw_unregister()ed on driver detach. See clk_hw_register() 2723 * automatically clk_hw_unregister()ed on driver detach. See clk_hw_register()
2724 * for more information. 2724 * for more information.
2725 */ 2725 */