Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: gpio_keys - fix misnamed function parameter 'dev'

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'

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104162427.2984742-12-lee.jones@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Lee Jones and committed by
Dmitry Torokhov
2216c0e4 93107bc7

+1 -1
+1 -1
drivers/input/keyboard/gpio_keys.c
··· 108 108 109 109 /** 110 110 * get_bm_events_by_type() - returns bitmap of supported events per @type 111 - * @input: input device from which bitmap is retrieved 111 + * @dev: input device from which bitmap is retrieved 112 112 * @type: type of button (%EV_KEY, %EV_SW) 113 113 * 114 114 * Return value of this function can be used to allocate bitmap