Skip to content

Commit fc810e7

Browse files
Lee Jonesthierryreding
authored andcommitted
pwm: mediatek: Provide missing kerneldoc description for 'soc' arg
Kerneldoc syntax is used, but not complete. Descriptions are required for all arguments. Fixes the following W=1 build warning: drivers/pwm/pwm-mediatek.c:57: warning: Function parameter or member 'soc' not described in 'pwm_mediatek_chip' Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: John Crispin <blogic@openwrt.org> Cc: Zhi Mao <zhi.mao@mediatek.com> Cc: linux-pwm@vger.kernel.org Cc: linux-mediatek@lists.infradead.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
1 parent 75de725 commit fc810e7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/pwm/pwm-mediatek.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ struct pwm_mediatek_of_data {
4646
* @clk_main: the clock used by PWM core
4747
* @clk_pwms: the clock used by each PWM channel
4848
* @clk_freq: the fix clock frequency of legacy MIPS SoC
49+
* @soc: pointer to chip's platform data
4950
*/
5051
struct pwm_mediatek_chip {
5152
struct pwm_chip chip;

0 commit comments

Comments
 (0)