Skip to content

Commit 6e1cc68

Browse files
Michal Simekbebarino
authored andcommitted
clk: zynqmp: Fix kernel-doc format
Align structure and function names with definitions. Issues are reported by kernel-doc script as: drivers/clk/zynqmp/clk-gate-zynqmp.c:24: warning: expecting prototype for struct clk_gate. Prototype was for struct zynqmp_clk_gate instead drivers/clk/zynqmp/clk-gate-zynqmp.c:75: warning: expecting prototype for zynqmp_clk_gate_is_enable(). Prototype was for zynqmp_clk_gate_is_enabled() instead Signed-off-by: Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/26526e144296373b2c75e75865dd023158f9bfc7.1629718424.git.michal.simek@xilinx.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent a3ef91f commit 6e1cc68

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/clk/zynqmp/clk-gate-zynqmp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "clk-zynqmp.h"
1313

1414
/**
15-
* struct clk_gate - gating clock
15+
* struct zynqmp_clk_gate - gating clock
1616
* @hw: handle between common and hardware-specific interfaces
1717
* @flags: hardware-specific flags
1818
* @clk_id: Id of clock
@@ -66,7 +66,7 @@ static void zynqmp_clk_gate_disable(struct clk_hw *hw)
6666
}
6767

6868
/**
69-
* zynqmp_clk_gate_is_enable() - Check clock state
69+
* zynqmp_clk_gate_is_enabled() - Check clock state
7070
* @hw: handle between common and hardware-specific interfaces
7171
*
7272
* Return: 1 if enabled, 0 if disabled else error code

0 commit comments

Comments
 (0)