Skip to content

Commit adb2e48

Browse files
tititiou36dtor
authored andcommitted
Input: zet6223 - remove an unused field in struct zet6223_ts
In "struct zet6223_ts", the 'vcc' and 'vio' fields are unused. So, remove them. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/3065d885341e2730dd3e7905d75514796a8c25e4.1715507858.git.christophe.jaillet@wanadoo.fr Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent ae7620b commit adb2e48

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/input/touchscreen/zet6223.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
struct zet6223_ts {
2626
struct i2c_client *client;
2727
struct input_dev *input;
28-
struct regulator *vcc;
29-
struct regulator *vio;
3028
struct touchscreen_properties prop;
3129
struct regulator_bulk_data supplies[2];
3230
u16 max_x;

0 commit comments

Comments
 (0)