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

clk: clk-xgene: Add description for 'mask' and fix formatting for 'flags'

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

drivers/clk/clk-xgene.c:229: warning: Function parameter or member 'mask' not described in 'xgene_clk_pmd'
drivers/clk/clk-xgene.c:229: warning: Function parameter or member 'flags' not described in 'xgene_clk_pmd'

Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Loc Ho <lho@apm.com>
Cc: linux-clk@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210126124540.3320214-18-lee.jones@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Lee Jones and committed by
Stephen Boyd
4e1df36e 181ad1ad

+2 -3
+2 -3
drivers/clk/clk-xgene.c
··· 206 206 * @hw: handle between common and hardware-specific interfaces 207 207 * @reg: register containing the fractional scale multiplier (scaler) 208 208 * @shift: shift to the unit bit field 209 + * @mask: mask to the unit bit field 209 210 * @denom: 1/denominator unit 210 211 * @lock: register lock 211 - * Flags: 212 - * XGENE_CLK_PMD_SCALE_INVERTED - By default the scaler is the value read 212 + * @flags: XGENE_CLK_PMD_SCALE_INVERTED - By default the scaler is the value read 213 213 * from the register plus one. For example, 214 214 * 0 for (0 + 1) / denom, 215 215 * 1 for (1 + 1) / denom and etc. 216 216 * If this flag is set, it is 217 217 * 0 for (denom - 0) / denom, 218 218 * 1 for (denom - 1) / denom and etc. 219 - * 220 219 */ 221 220 struct xgene_clk_pmd { 222 221 struct clk_hw hw;