Commit adb2e48a authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Dmitry Torokhov
Browse files

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/3065d885341e2730dd3e7905d75514796a8c25e4.1715507858.git.christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent ae7620b2
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -25,8 +25,6 @@
struct zet6223_ts {
	struct i2c_client *client;
	struct input_dev *input;
	struct regulator *vcc;
	struct regulator *vio;
	struct touchscreen_properties prop;
	struct regulator_bulk_data supplies[2];
	u16 max_x;