summaryrefslogtreecommitdiff
path: root/drivers/clk/clk.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-01-03 14:06:14 +0300
committerStephen Boyd <sboyd@codeaurora.org>2018-01-04 03:02:08 +0300
commitf7ae75036762618ecc2cc7ae6fb4f6a74af92afb (patch)
treed76a1bc91c996969ea073638b9a27ac76e565611 /drivers/clk/clk.c
parent6562fbcf3ad5ffa56f1fc79bb1afae909cf3627b (diff)
downloadlinux-f7ae75036762618ecc2cc7ae6fb4f6a74af92afb.tar.xz
clk: Improve flags doc for of_clk_detect_critical()
The "flags" parameter passed to of_clk_detect_critical() cannot be a pointer to a real clk_core.flags field, as clk_core is private to the clock framework internals. Change the comment to refer to top-level framework flags instead. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk.c')
-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 efbc802da3b3..fe2d43e34216 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -3912,7 +3912,7 @@ static int parent_ready(struct device_node *np)
* of_clk_detect_critical() - set CLK_IS_CRITICAL flag from Device Tree
* @np: Device node pointer associated with clock provider
* @index: clock index
- * @flags: pointer to clk_core->flags
+ * @flags: pointer to top-level framework flags
*
* Detects if the clock-critical property exists and, if so, sets the
* corresponding CLK_IS_CRITICAL flag.