Message ID | 20201104162427.2984742-18-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 6e9c6fcbff24b756eb757bb702dbd7f74790d67f |
Headers | show |
Series | Rid W=1 issues from Input | expand |
On Wed, Nov 04, 2020 at 04:24:24PM +0000, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data' > drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data' > drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data' > drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data' > drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data' > > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Cc: Dan Murphy <dmurphy@ti.com> > Cc: linux-input@vger.kernel.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> Applied, thank you. -- Dmitry
diff --git a/drivers/input/misc/drv2665.c b/drivers/input/misc/drv2665.c index 918ad9c3fa812..0e65ab180f499 100644 --- a/drivers/input/misc/drv2665.c +++ b/drivers/input/misc/drv2665.c @@ -44,11 +44,11 @@ /** * struct drv2665_data - - * @input_dev - Pointer to the input device - * @client - Pointer to the I2C client - * @regmap - Register map of the device - * @work - Work item used to off load the enable/disable of the vibration - * @regulator - Pointer to the regulator for the IC + * @input_dev: Pointer to the input device + * @client: Pointer to the I2C client + * @regmap: Register map of the device + * @work: Work item used to off load the enable/disable of the vibration + * @regulator: Pointer to the regulator for the IC */ struct drv2665_data { struct input_dev *input_dev;
Fixes the following W=1 kernel build warning(s): drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data' Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Dan Murphy <dmurphy@ti.com> Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/input/misc/drv2665.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)