mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
nfc: Drop unused assignment of acpi_device_id driver data
The drivers explicitly set the .driver_data member of struct acpi_device_id to zero without relying on that value. Drop these unused assignments. This patch doesn't modify the compiled arrays, only their representation in source form benefits. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/c77f6376214001297f28d3ec48f0a853985f1847.1783091699.git.u.kleine-koenig@baylibre.com Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
parent
b65365e140
commit
23096d9848
|
|
@ -349,7 +349,7 @@ static void fdp_nci_i2c_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct acpi_device_id fdp_nci_i2c_acpi_match[] = {
|
||||
{"INT339A", 0},
|
||||
{ "INT339A" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(acpi, fdp_nci_i2c_acpi_match);
|
||||
|
|
|
|||
|
|
@ -51,10 +51,9 @@ static const struct i2c_device_id pn544_hci_i2c_id_table[] = {
|
|||
MODULE_DEVICE_TABLE(i2c, pn544_hci_i2c_id_table);
|
||||
|
||||
static const struct acpi_device_id pn544_hci_i2c_acpi_match[] = {
|
||||
{"NXP5440", 0},
|
||||
{ "NXP5440" },
|
||||
{}
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(acpi, pn544_hci_i2c_acpi_match);
|
||||
|
||||
#define PN544_HCI_I2C_DRIVER_NAME "pn544_hci_i2c"
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ static struct spi_device_id st_nci_spi_id_table[] = {
|
|||
MODULE_DEVICE_TABLE(spi, st_nci_spi_id_table);
|
||||
|
||||
static const struct acpi_device_id st_nci_spi_acpi_match[] = {
|
||||
{"SMO2101", 0},
|
||||
{ "SMO2101" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(acpi, st_nci_spi_acpi_match);
|
||||
|
|
|
|||
|
|
@ -578,7 +578,7 @@ static const struct i2c_device_id st21nfca_hci_i2c_id_table[] = {
|
|||
MODULE_DEVICE_TABLE(i2c, st21nfca_hci_i2c_id_table);
|
||||
|
||||
static const struct acpi_device_id st21nfca_hci_i2c_acpi_match[] = {
|
||||
{"SMO2100", 0},
|
||||
{ "SMO2100" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(acpi, st21nfca_hci_i2c_acpi_match);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user