clk: Fix comment to clk_get_parent
Subsystems (2)
PATCH 1/1 clk: Fix comment to clk_get_parent
There is no single implementation of clk_get_parent, which returns ERR_PTR(). Therefore, fix the comment in common header linux/clk.h, which claims otherwise.
Signed-off-by Alexander Sverdlin <[email protected]>
--- include/linux/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/clk.h +1 -1
@@ -417,7 +417,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent);* @clk: clock source * * Returns struct clk corresponding to parent clock source, or -* valid IS_ERR() condition containing errno. +* NULL on error. */ struct clk *clk_get_parent (struct clk *clk);
Signature · 1 line
2.12.2
Russell King - ARM Linux
maintainerQuoted 2 lines · Alexander Sverdlin
There is no single implementation of
clk_get_parent, which returnsERR_PTR(). Therefore, fix the comment in common headerlinux/clk.h, which claims otherwise.
clk.h is the API definition, not the documentation of the implementation(s). Please leave it as-is.
Signature · 3 lines
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.