]> www.infradead.org Git - linux.git/commit
Input: chipone_icn8505 - remove an unused field in struct icn8505_data
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 12 May 2024 08:25:17 +0000 (10:25 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 13 May 2024 21:09:57 +0000 (14:09 -0700)
commitae7620b2839365e23a88dc2953e071ff2f260868
tree635fefc2198a7adb9a3b9510ab1edcf22a3391ff
parent5128de84d8fc849400d00f7a6982711f129699ea
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>
drivers/input/touchscreen/chipone_icn8505.c