]> www.infradead.org Git - nvme.git/commit
Input: ads7846 - use spi_device_id table
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 19 Jun 2024 12:27:02 +0000 (14:27 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 20 Jun 2024 15:39:32 +0000 (08:39 -0700)
commit7c7b1be19b228b450c2945ec379d7fc6bfef9852
tree3d4d132bfc1617774aa9df48b718195de421e4ee
parentcee77149ebe9cd971ba238d87aa10e09bd98f1c9
Input: ads7846 - use spi_device_id table

As the driver supports more devices over time the single MODULE_ALIAS
is complete and raises several warnings:
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

Fix this by adding a spi_device_id table and removing the manual
MODULE_ALIAS.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20240619122703.2081476-1-alexander.stein@ew.tq-group.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ads7846.c