Skip to content

Commit dcc3545

Browse files
Lee Jonesmripard
authored andcommitted
clk: sunxi: Demote non-conformant kernel-doc headers
Headers must describe their parameters. Fixes the following W=1 kernel build warning(s): drivers/clk/sunxi/clk-sun9i-core.c:27: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_pll4_factors' drivers/clk/sunxi/clk-sun9i-core.c:100: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_gt_factors' drivers/clk/sunxi/clk-sun9i-core.c:155: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_ahb_factors' drivers/clk/sunxi/clk-sun9i-core.c:235: warning: Function parameter or member 'req' not described in 'sun9i_a80_get_apb1_factors' drivers/clk/sunxi/clk-usb.c:22: warning: cannot understand function prototype: 'struct usb_reset_data ' drivers/clk/sunxi/clk-sun6i-ar100.c:26: warning: Function parameter or member 'req' not described in 'sun6i_get_ar100_factors' Cc: "Emilio López" <[email protected]> Cc: Michael Turquette <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Jernej Skrabec <[email protected]> Cc: Boris BREZILLON <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Acked-by: Stephen Boyd <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 46060be commit dcc3545

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

drivers/clk/sunxi/clk-sun6i-ar100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include "clk-factors.h"
1818

19-
/**
19+
/*
2020
* sun6i_get_ar100_factors - Calculates factors p, m for AR100
2121
*
2222
* AR100 rate is calculated as follows

drivers/clk/sunxi/clk-sun9i-core.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "clk-factors.h"
1515

1616

17-
/**
17+
/*
1818
* sun9i_a80_get_pll4_factors() - calculates n, p, m factors for PLL4
1919
* PLL4 rate is calculated as follows
2020
* rate = (parent_rate * n >> p) / (m + 1);
@@ -90,7 +90,7 @@ static void __init sun9i_a80_pll4_setup(struct device_node *node)
9090
CLK_OF_DECLARE(sun9i_a80_pll4, "allwinner,sun9i-a80-pll4-clk", sun9i_a80_pll4_setup);
9191

9292

93-
/**
93+
/*
9494
* sun9i_a80_get_gt_factors() - calculates m factor for GT
9595
* GT rate is calculated as follows
9696
* rate = parent_rate / (m + 1);
@@ -145,7 +145,7 @@ static void __init sun9i_a80_gt_setup(struct device_node *node)
145145
CLK_OF_DECLARE(sun9i_a80_gt, "allwinner,sun9i-a80-gt-clk", sun9i_a80_gt_setup);
146146

147147

148-
/**
148+
/*
149149
* sun9i_a80_get_ahb_factors() - calculates p factor for AHB0/1/2
150150
* AHB rate is calculated as follows
151151
* rate = parent_rate >> p;
@@ -225,7 +225,7 @@ static void __init sun9i_a80_apb0_setup(struct device_node *node)
225225
CLK_OF_DECLARE(sun9i_a80_apb0, "allwinner,sun9i-a80-apb0-clk", sun9i_a80_apb0_setup);
226226

227227

228-
/**
228+
/*
229229
* sun9i_a80_get_apb1_factors() - calculates m, p factors for APB1
230230
* APB1 rate is calculated as follows
231231
* rate = (parent_rate >> p) / (m + 1);

drivers/clk/sunxi/clk-usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <linux/spinlock.h>
1616

1717

18-
/**
18+
/*
1919
* sunxi_usb_reset... - reset bits in usb clk registers handling
2020
*/
2121

0 commit comments

Comments
 (0)