From: Masahiro Yamada Date: Sun, 1 May 2016 10:56:08 +0000 (+0900) Subject: clk: fix comment of devm_clk_hw_register() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c47265ad64fa793657ce7ecf1a8f636c794e9f40;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Stephen Boyd --- 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); * @dev: device that is registering this clock * @hw: link to hardware-specific clock data * - * Managed clk_hw_register(). Clocks returned from this function are + * Managed clk_hw_register(). Clocks registered by this function are * automatically clk_hw_unregister()ed on driver detach. See clk_hw_register() * for more information. */