mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 15:22:21 -04:00
misc: Drop unused assignment of spi_device_id driver data
The drivers don't make use of the values that were explicitly assigned to the .driver_data members. Drop these assignments. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/e2ad3f93b358cc246a64a3d0a7c3f037b2201412.1784299069.git.u.kleine-koenig@baylibre.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b187532ac6
commit
4eb0946caf
@@ -538,8 +538,8 @@ static int gehc_achc_probe(struct spi_device *spi)
|
||||
}
|
||||
|
||||
static const struct spi_device_id gehc_achc_id[] = {
|
||||
{ "ge,achc", 0 },
|
||||
{ "achc", 0 },
|
||||
{ "ge,achc" },
|
||||
{ "achc" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(spi, gehc_achc_id);
|
||||
|
||||
@@ -219,8 +219,8 @@ static void lattice_ecp3_remove(struct spi_device *spi)
|
||||
}
|
||||
|
||||
static const struct spi_device_id lattice_ecp3_id[] = {
|
||||
{ "ecp3-17", 0 },
|
||||
{ "ecp3-35", 0 },
|
||||
{ "ecp3-17" },
|
||||
{ "ecp3-35" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(spi, lattice_ecp3_id);
|
||||
|
||||
Reference in New Issue
Block a user