mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/37443a675ca07c91c5f0118ce255406e6e3c08f5.1715502304.git.christophe.jaillet@wanadoo.fr Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
5128de84d8
commit
ae7620b283
@ -68,7 +68,6 @@ struct icn8505_touch_data {
|
||||
struct icn8505_data {
|
||||
struct i2c_client *client;
|
||||
struct input_dev *input;
|
||||
struct gpio_desc *wake_gpio;
|
||||
struct touchscreen_properties prop;
|
||||
char firmware_name[32];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user