diff mbox series

[11/15] input: touchscreen: wm97xx-core: Provide missing description for 'status'

Message ID 20201112110204.2083435-12-lee.jones@linaro.org
State Accepted
Commit b324009d21ae50fafe628b665d9758403dbbf670
Headers show
Series Rid W=1 issues from Input | expand

Commit Message

Lee Jones Nov. 12, 2020, 11:02 a.m. UTC
Fixes the following W=1 kernel build warning(s):

 drivers/input/touchscreen/wm97xx-core.c:204: warning: Function parameter or member 'status' not described in 'wm97xx_set_gpio'

Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Ian Molton <spyro@f2s.com>
Cc: Andrew Zabolotny <zap@homelink.ru>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: patches@opensource.cirrus.com
Cc: linux-input@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/input/touchscreen/wm97xx-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.25.1

Comments

Richard Fitzgerald Nov. 12, 2020, 11:22 a.m. UTC | #1
On 12/11/2020 11:02, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):

> 

>   drivers/input/touchscreen/wm97xx-core.c:204: warning: Function parameter or member 'status' not described in 'wm97xx_set_gpio'

> 

> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>

> Cc: Liam Girdwood <lrg@slimlogic.co.uk>

> Cc: Ian Molton <spyro@f2s.com>

> Cc: Andrew Zabolotny <zap@homelink.ru>

> Cc: Russell King <rmk@arm.linux.org.uk>

> Cc: patches@opensource.cirrus.com

> Cc: linux-input@vger.kernel.org

> Signed-off-by: Lee Jones <lee.jones@linaro.org>

> ---

>   drivers/input/touchscreen/wm97xx-core.c | 2 +-

>   1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c

> index 0a174bd829152..45ce89467c167 100644

> --- a/drivers/input/touchscreen/wm97xx-core.c

> +++ b/drivers/input/touchscreen/wm97xx-core.c

> @@ -194,7 +194,7 @@ EXPORT_SYMBOL_GPL(wm97xx_get_gpio);

>    * wm97xx_set_gpio - Set the status of a codec GPIO.

>    * @wm: wm97xx device.

>    * @gpio: gpio

> - *

> + * @status: status

>    *

>    * Set the status of a codec GPIO pin

>    */

> 


Acked-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Dmitry Torokhov Nov. 20, 2020, 3:17 a.m. UTC | #2
On Thu, Nov 12, 2020 at 11:02:00AM +0000, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):

> 

>  drivers/input/touchscreen/wm97xx-core.c:204: warning: Function parameter or member 'status' not described in 'wm97xx_set_gpio'

> 

> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>

> Cc: Liam Girdwood <lrg@slimlogic.co.uk>

> Cc: Ian Molton <spyro@f2s.com>

> Cc: Andrew Zabolotny <zap@homelink.ru>

> Cc: Russell King <rmk@arm.linux.org.uk>

> Cc: patches@opensource.cirrus.com

> Cc: linux-input@vger.kernel.org

> Signed-off-by: Lee Jones <lee.jones@linaro.org>


Applied, thank you.

-- 
Dmitry
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c
index 0a174bd829152..45ce89467c167 100644
--- a/drivers/input/touchscreen/wm97xx-core.c
+++ b/drivers/input/touchscreen/wm97xx-core.c
@@ -194,7 +194,7 @@  EXPORT_SYMBOL_GPL(wm97xx_get_gpio);
  * wm97xx_set_gpio - Set the status of a codec GPIO.
  * @wm: wm97xx device.
  * @gpio: gpio
- *
+ * @status: status
  *
  * Set the status of a codec GPIO pin
  */