Input: lpc32xx-keys - remove an unused field in struct lpc32xx_kscan_drv
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 1 May 2024 06:39:23 +0000 (08:39 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 6 May 2024 22:41:37 +0000 (15:41 -0700)
commitf88f4a160d0aeed51254ee69eba8a466b0f5b56a
treecfce43f78ec3d9061439c75c02e98df9bebad29e
parent9df327854920946897bcdfaec7e135c899e8028a
Input: lpc32xx-keys - remove an unused field in struct lpc32xx_kscan_drv

In "struct lpc32xx_kscan_drv", the 'irq' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.

While at it, move the 'row_shift' field in order to fill a hole in the
structure (at least on 64 bits arch).

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/e006dfb77e35762c6e4f8ba6ba792b0c52fde375.1714545542.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/lpc32xx-keys.c