]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: i2c: dw9719: Remove unused i2c device id table
authorAndré Apitzsch <git@apitzsch.eu>
Sat, 20 Sep 2025 12:03:42 +0000 (14:03 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 29 Oct 2025 12:47:16 +0000 (13:47 +0100)
Nothing depends on the I²C device ID table, so remove it.

Signed-off-by: André Apitzsch <git@apitzsch.eu>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/dw9719.c

index 5ed0042fce18acd9e6ce9f6cf6c6982e36fed275..8d83e6fb478124d83d65f80d33a50c0aff438a6d 100644 (file)
@@ -360,13 +360,6 @@ static void dw9719_remove(struct i2c_client *client)
        pm_runtime_set_suspended(&client->dev);
 }
 
-static const struct i2c_device_id dw9719_id_table[] = {
-       { "dw9719" },
-       { "dw9761" },
-       { }
-};
-MODULE_DEVICE_TABLE(i2c, dw9719_id_table);
-
 static DEFINE_RUNTIME_DEV_PM_OPS(dw9719_pm_ops, dw9719_suspend, dw9719_resume,
                                 NULL);
 
@@ -377,7 +370,6 @@ static struct i2c_driver dw9719_i2c_driver = {
        },
        .probe = dw9719_probe,
        .remove = dw9719_remove,
-       .id_table = dw9719_id_table,
 };
 module_i2c_driver(dw9719_i2c_driver);