diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-01-25 09:56:49 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-15 12:28:02 +0100 |
commit | e92ce0e8f9c985815800975f6d76e1fedb58076a (patch) | |
tree | 284ccf7e9e797c3dc0b2afb9d9ae492809325091 /drivers/pwm/pwm-mediatek.c | |
parent | 91bb23493f8fd115e362d075ebaa3e6f12d1439d (diff) | |
download | lwn-e92ce0e8f9c985815800975f6d76e1fedb58076a.tar.gz lwn-e92ce0e8f9c985815800975f6d76e1fedb58076a.zip |
pwm: mediatek: Update kernel doc for struct pwm_mediatek_of_data
The struct never had a member called clk_freq. This fixes the W=1
warning:
drivers/pwm/pwm-mediatek.c:60: warning: Excess struct member 'clk_freq' description in 'pwm_mediatek_chip'
Fixes: efecdeb82f21 ("pwm: mediatek: Allocate the clks array dynamically")
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240125085649.1571268-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/pwm/pwm-mediatek.c')
-rw-r--r-- | drivers/pwm/pwm-mediatek.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c index 17d290f847af..562102a47ac0 100644 --- a/drivers/pwm/pwm-mediatek.c +++ b/drivers/pwm/pwm-mediatek.c @@ -47,7 +47,6 @@ struct pwm_mediatek_of_data { * @clk_top: the top clock generator * @clk_main: the clock used by PWM core * @clk_pwms: the clock used by each PWM channel - * @clk_freq: the fix clock frequency of legacy MIPS SoC * @soc: pointer to chip's platform data */ struct pwm_mediatek_chip { |