diff mbox series

pwm: mediatek: Update kernel doc for struct pwm_mediatek_of_data

Message ID 20240125085649.1571268-2-u.kleine-koenig@pengutronix.de (mailing list archive)
State New, archived
Headers show
Series pwm: mediatek: Update kernel doc for struct pwm_mediatek_of_data | expand

Commit Message

Uwe Kleine-König Jan. 25, 2024, 8:56 a.m. UTC
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")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/pwm/pwm-mediatek.c | 1 -
 1 file changed, 1 deletion(-)


base-commit: b578dc69e6b1be72909b6f961f20c41019b233ee

Comments

AngeloGioacchino Del Regno Jan. 25, 2024, 11:26 a.m. UTC | #1
Il 25/01/24 09:56, Uwe Kleine-König ha scritto:
> 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")
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
diff mbox series

Patch

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 {