Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Michal Simek and committed by
Stephen Boyd
6e1cc688 a3ef91f5

+2 -2
+2 -2
drivers/clk/zynqmp/clk-gate-zynqmp.c
··· 12 12 #include "clk-zynqmp.h" 13 13 14 14 /** 15 - * struct clk_gate - gating clock 15 + * struct zynqmp_clk_gate - gating clock 16 16 * @hw: handle between common and hardware-specific interfaces 17 17 * @flags: hardware-specific flags 18 18 * @clk_id: Id of clock ··· 66 66 } 67 67 68 68 /** 69 - * zynqmp_clk_gate_is_enable() - Check clock state 69 + * zynqmp_clk_gate_is_enabled() - Check clock state 70 70 * @hw: handle between common and hardware-specific interfaces 71 71 * 72 72 * Return: 1 if enabled, 0 if disabled else error code