mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
Input: iqs5xx - drop unused i2c driver_data
The driver doesn't make use of the value that was explicitly assigned to the .driver_data members. Drop the assignment. While touching the array, convert it to use named initialization which is easier to understand. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/20260515165135.498505-2-u.kleine-koenig@baylibre.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
47ceab218c
commit
332fbc03e1
|
|
@ -1049,9 +1049,9 @@ static int iqs5xx_probe(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id iqs5xx_id[] = {
|
||||
{ "iqs550", 0 },
|
||||
{ "iqs572", 1 },
|
||||
{ "iqs525", 2 },
|
||||
{ .name = "iqs550" },
|
||||
{ .name = "iqs572" },
|
||||
{ .name = "iqs525" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, iqs5xx_id);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user