Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/3065d885341e2730dd3e7905d75514796a8c25e4.1715507858.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Christophe JAILLET and committed by
Dmitry Torokhov
adb2e48a ae7620b2

-2
-2
drivers/input/touchscreen/zet6223.c
··· 25 25 struct zet6223_ts { 26 26 struct i2c_client *client; 27 27 struct input_dev *input; 28 - struct regulator *vcc; 29 - struct regulator *vio; 30 28 struct touchscreen_properties prop; 31 29 struct regulator_bulk_data supplies[2]; 32 30 u16 max_x;