Skip to content

Commit ae7620b

Browse files
tititiou36dtor
authored andcommitted
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 <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/37443a675ca07c91c5f0118ce255406e6e3c08f5.1715502304.git.christophe.jaillet@wanadoo.fr Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 5128de8 commit ae7620b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/input/touchscreen/chipone_icn8505.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ struct icn8505_touch_data {
6868
struct icn8505_data {
6969
struct i2c_client *client;
7070
struct input_dev *input;
71-
struct gpio_desc *wake_gpio;
7271
struct touchscreen_properties prop;
7372
char firmware_name[32];
7473
};

0 commit comments

Comments
 (0)