Message ID | 20201104162427.2984742-12-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 2216c0e414c6596b03a354b5c08ba98af4cbef85 |
Headers | show |
Series | Rid W=1 issues from Input | expand |
On Wed, Nov 04, 2020 at 04:24:18PM +0000, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/input/keyboard/gpio_keys.c:119: warning: Function parameter or member 'dev' not described in 'get_bm_events_by_type' > drivers/input/keyboard/gpio_keys.c:119: warning: Excess function parameter 'input' description in 'get_bm_events_by_type' > > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org> > Cc: David Jander <david@protonic.nl> > Cc: Phil Blundell <pb@handhelds.org> > Cc: linux-input@vger.kernel.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> Applied, thank you. -- Dmitry
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index f2d4e4daa818f..a079504e98e82 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c @@ -108,7 +108,7 @@ static int get_n_events_by_type(int type) /** * get_bm_events_by_type() - returns bitmap of supported events per @type - * @input: input device from which bitmap is retrieved + * @dev: input device from which bitmap is retrieved * @type: type of button (%EV_KEY, %EV_SW) * * Return value of this function can be used to allocate bitmap
Fixes the following W=1 kernel build warning(s): drivers/input/keyboard/gpio_keys.c:119: warning: Function parameter or member 'dev' not described in 'get_bm_events_by_type' drivers/input/keyboard/gpio_keys.c:119: warning: Excess function parameter 'input' description in 'get_bm_events_by_type' Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org> Cc: David Jander <david@protonic.nl> Cc: Phil Blundell <pb@handhelds.org> Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/input/keyboard/gpio_keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)