]> git.hungrycats.org Git - linux/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2024 07:53:33 +0000 (09:53 +0200)
commit509939fd3526830deaabba2b12ef81570a27290d
treece384934a6488dda790675c4d3c3ae857ea3afad
parent7fb0205d2250d8be161fca83e4834fa94c45dedd
Input: ads7846 - use spi_device_id table

[ Upstream commit 7c7b1be19b228b450c2945ec379d7fc6bfef9852 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/touchscreen/ads7846.c