input: ads7846: Add missing spi_device_id strings
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 1 Sep 2023 11:23:30 +0000 (12:23 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:38 +0000 (11:33 +0000)
commit0707a7f4b1eeba694459f2231eef7c2a68e13074
tree1c1034df48ab423919cb802684b746dc80ef3d60
parent4d693d45195f639e2881128f842f47f28234b7f8
input: ads7846: Add missing spi_device_id strings

The SPI core logs error messages if a compatible string device
name is not also present as an spi_device_id.

No spi_device_id values are specified by the driver, therefore
we get 4 log lines every time it is loaded:
SPI driver ads7846 has no spi_device_id for ti,tsc2046
SPI driver ads7846 has no spi_device_id for ti,ads7843
SPI driver ads7846 has no spi_device_id for ti,ads7845
SPI driver ads7846 has no spi_device_id for ti,ads7873

Add the spi_device_id values for these devices.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/input/touchscreen/ads7846.c