Skip to content

Commit 8a3492c

Browse files
Shubhrajyoti Dattabebarino
authored andcommitted
clk: zynq: pll: Fix kernel-doc warnings
Fix the following kernel-doc warning drivers/clk/zynq/pll.c:15: warning: missing initial short description on line: * struct zynq_pll drivers/clk/zynq/pll.c:96: warning: No description found for return value of 'zynq_pll_is_enabled' drivers/clk/zynq/pll.c:116: warning: No description found for return value of 'zynq_pll_enable' drivers/clk/zynq/pll.c:187: warning: No description found for return value of 'clk_register_zynq_pll' Signed-off-by: Shubhrajyoti Datta <[email protected]> Link: https://lore.kernel.org/r/9929a56462bfdd491c43c233abc4341fc14dac1d.1637139796.git.shubhrajyoti.datta@xilinx.com Signed-off-by: Stephen Boyd <[email protected]>
1 parent 71e7623 commit 8a3492c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/clk/zynq/pll.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <linux/io.h>
1313

1414
/**
15-
* struct zynq_pll
15+
* struct zynq_pll - pll clock
1616
* @hw: Handle between common and hardware-specific interfaces
1717
* @pll_ctrl: PLL control register
1818
* @pll_status: PLL status register
@@ -46,7 +46,7 @@ struct zynq_pll {
4646
* @hw: Handle between common and hardware-specific interfaces
4747
* @rate: Desired clock frequency
4848
* @prate: Clock frequency of parent clock
49-
* Returns frequency closest to @rate the hardware can generate.
49+
* Return: frequency closest to @rate the hardware can generate.
5050
*/
5151
static long zynq_pll_round_rate(struct clk_hw *hw, unsigned long rate,
5252
unsigned long *prate)
@@ -66,7 +66,7 @@ static long zynq_pll_round_rate(struct clk_hw *hw, unsigned long rate,
6666
* zynq_pll_recalc_rate() - Recalculate clock frequency
6767
* @hw: Handle between common and hardware-specific interfaces
6868
* @parent_rate: Clock frequency of parent clock
69-
* Returns current clock frequency.
69+
* Return: current clock frequency.
7070
*/
7171
static unsigned long zynq_pll_recalc_rate(struct clk_hw *hw,
7272
unsigned long parent_rate)
@@ -87,7 +87,7 @@ static unsigned long zynq_pll_recalc_rate(struct clk_hw *hw,
8787
/**
8888
* zynq_pll_is_enabled - Check if a clock is enabled
8989
* @hw: Handle between common and hardware-specific interfaces
90-
* Returns 1 if the clock is enabled, 0 otherwise.
90+
* Return: 1 if the clock is enabled, 0 otherwise.
9191
*
9292
* Not sure this is a good idea, but since disabled means bypassed for
9393
* this clock implementation we say we are always enabled.
@@ -110,7 +110,7 @@ static int zynq_pll_is_enabled(struct clk_hw *hw)
110110
/**
111111
* zynq_pll_enable - Enable clock
112112
* @hw: Handle between common and hardware-specific interfaces
113-
* Returns 0 on success
113+
* Return: 0 on success
114114
*/
115115
static int zynq_pll_enable(struct clk_hw *hw)
116116
{
@@ -179,7 +179,7 @@ static const struct clk_ops zynq_pll_ops = {
179179
* @pll_status: Pointer to PLL status register
180180
* @lock_index: Bit index to this PLL's lock status bit in @pll_status
181181
* @lock: Register lock
182-
* Returns handle to the registered clock.
182+
* Return: handle to the registered clock.
183183
*/
184184
struct clk *clk_register_zynq_pll(const char *name, const char *parent,
185185
void __iomem *pll_ctrl, void __iomem *pll_status, u8 lock_index,

0 commit comments

Comments
 (0)