ALSA: core: pcm_iec958: fix kernel-doc
diff mbox series

Message ID 20200702193842.169215-1-pierre-louis.bossart@linux.intel.com
State New
Headers show
Series
  • ALSA: core: pcm_iec958: fix kernel-doc
Related show

Commit Message

Pierre-Louis Bossart July 2, 2020, 7:38 p.m. UTC
Fix W=1 warning. The kernel doc uses the hwparams type instead of the
argument name.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/core/pcm_iec958.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Takashi Iwai July 7, 2020, 8:22 a.m. UTC | #1
On Thu, 02 Jul 2020 21:38:42 +0200,
Pierre-Louis Bossart wrote:
> 
> Fix W=1 warning. The kernel doc uses the hwparams type instead of the
> argument name.
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

Applied now.  Thanks.


Takashi

Patch
diff mbox series

diff --git a/sound/core/pcm_iec958.c b/sound/core/pcm_iec958.c
index 073540f73b2f..f9a211cc1f2c 100644
--- a/sound/core/pcm_iec958.c
+++ b/sound/core/pcm_iec958.c
@@ -103,7 +103,7 @@  EXPORT_SYMBOL(snd_pcm_create_iec958_consumer);
 
 /**
  * snd_pcm_create_iec958_consumer_hw_params - create IEC958 channel status
- * @hw_params: the hw_params instance for extracting rate and sample format
+ * @params: the hw_params instance for extracting rate and sample format
  * @cs: channel status buffer, at least four bytes
  * @len: length of channel status buffer
  *