Commit ae7620b2 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Dmitry Torokhov

Input: chipone_icn8505 - remove an unused field in struct icn8505_data

In "struct icn8505_data", the 'wake_gpio' field is unused.
There is also nothing about gpio neither in this driver nor in the
data-sheet.

So, remove it.

Found with cppcheck, unusedStructMember.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/37443a675ca07c91c5f0118ce255406e6e3c08f5.1715502304.git.christophe.jaillet@wanadoo.frSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 5128de84
...@@ -68,7 +68,6 @@ struct icn8505_touch_data { ...@@ -68,7 +68,6 @@ struct icn8505_touch_data {
struct icn8505_data { struct icn8505_data {
struct i2c_client *client; struct i2c_client *client;
struct input_dev *input; struct input_dev *input;
struct gpio_desc *wake_gpio;
struct touchscreen_properties prop; struct touchscreen_properties prop;
char firmware_name[32]; char firmware_name[32];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment