summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-15 17:10:39 +0200
committerBrian Masney <bmasney@redhat.com>2026-06-29 15:48:54 -0400
commitf5964864856c3422c8193e22d9ae80e2edbbcf18 (patch)
treeb9f8fca26757bb4e8fc8646d3ed3eb5612c8c380
parent0bf68e8dcb843f094ed73c2c54e9fe58a7a4f774 (diff)
clk: si5341: Drop unused i2c driver_data
The driver doesn't make use of the value that was explicitly assigned to the .driver_data member. Drop the assignment. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Brian Masney <bmasney@redhat.com>
-rw-r--r--drivers/clk/clk-si5341.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/clk/clk-si5341.c b/drivers/clk/clk-si5341.c
index 2499b771cd83..5311c23532b4 100644
--- a/drivers/clk/clk-si5341.c
+++ b/drivers/clk/clk-si5341.c
@@ -1825,11 +1825,11 @@ static void si5341_remove(struct i2c_client *client)
}
static const struct i2c_device_id si5341_id[] = {
- { "si5340", 0 },
- { "si5341", 1 },
- { "si5342", 2 },
- { "si5344", 4 },
- { "si5345", 5 },
+ { .name = "si5340" },
+ { .name = "si5341" },
+ { .name = "si5342" },
+ { .name = "si5344" },
+ { .name = "si5345" },
{ }
};
MODULE_DEVICE_TABLE(i2c, si5341_id);