Input: iqs7211 - point to match data directly
authorJeff LaBundy <jeff@labundy.com>
Thu, 13 Jul 2023 18:12:02 +0000 (13:12 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 13 Jul 2023 19:02:01 +0000 (12:02 -0700)
commit677232f879f2464007c511a73048ff5996b479fc
treef80a04f3c3497010cc85df3131645d6df6b490fb
parentf2ba47e65f3b5642488802a60cb7dd068f425edc
Input: iqs7211 - point to match data directly

Point the OF match table directly to the struct that describes the
device as opposed to an intermediate enum; doing so simplifies the
code and avoids a clang warning.

As part of this change, the I2C device ID table is removed, as the
device cannot probe without an OF node due to the unique nature of
the hardware's interrupt pin.

Fixes: f2ba47e65f3b ("Input: add support for Azoteq IQS7210A/7211A/E")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307131717.LtwApG0z-lkp@intel.com/
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/ZLA+cuciIeVcCvm6@nixie71
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/iqs7211.c