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 <[email protected]> Cc: John Crispin <[email protected]> Cc: Zhi Mao <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 75de725 commit fc810e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)