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

clk: ti: dpll44xx: Fix some potential doc-rot

Fixes the following W=1 kernel build warning(s):

drivers/clk/ti/dpll44xx.c:114: warning: Function parameter or member 'hw' not described in 'omap4_dpll_regm4xen_recalc'
drivers/clk/ti/dpll44xx.c:114: warning: Function parameter or member 'parent_rate' not described in 'omap4_dpll_regm4xen_recalc'
drivers/clk/ti/dpll44xx.c:114: warning: Excess function parameter 'clk' description in 'omap4_dpll_regm4xen_recalc'
drivers/clk/ti/dpll44xx.c:150: warning: Function parameter or member 'hw' not described in 'omap4_dpll_regm4xen_round_rate'
drivers/clk/ti/dpll44xx.c:150: warning: Function parameter or member 'parent_rate' not described in 'omap4_dpll_regm4xen_round_rate'
drivers/clk/ti/dpll44xx.c:150: warning: Excess function parameter 'clk' description in 'omap4_dpll_regm4xen_round_rate'

Cc: Tero Kristo <kristo@kernel.org>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-omap@vger.kernel.org
Cc: linux-clk@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210126124540.3320214-11-lee.jones@linaro.org
Reviewed-by: Tero Kristo <kristo@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Lee Jones and committed by
Stephen Boyd
d8dbf923 b565eb81

+4 -2
+4 -2
drivers/clk/ti/dpll44xx.c
··· 102 102 103 103 /** 104 104 * omap4_dpll_regm4xen_recalc - compute DPLL rate, considering REGM4XEN bit 105 - * @clk: struct clk * of the DPLL to compute the rate for 105 + * @hw: pointer to the clock to compute the rate for 106 + * @parent_rate: clock rate of the DPLL parent 106 107 * 107 108 * Compute the output rate for the OMAP4 DPLL represented by @clk. 108 109 * Takes the REGM4XEN bit into consideration, which is needed for the ··· 135 134 136 135 /** 137 136 * omap4_dpll_regm4xen_round_rate - round DPLL rate, considering REGM4XEN bit 138 - * @clk: struct clk * of the DPLL to round a rate for 137 + * @hw: struct hw_clk containing the struct clk * of the DPLL to round a rate for 139 138 * @target_rate: the desired rate of the DPLL 139 + * @parent_rate: clock rate of the DPLL parent 140 140 * 141 141 * Compute the rate that would be programmed into the DPLL hardware 142 142 * for @clk if set_rate() were to be provided with the rate