media: ccs: Remove the I²C ID table
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 11 Feb 2020 21:32:36 +0000 (22:32 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 09:41:31 +0000 (10:41 +0100)
The I²C ID table is no longer needed; remove it.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ccs/ccs-core.c

index bb712d71b8c87d872bb103e96daff66d98f4b27c..bb3759e2534c0995171bb05c1e0fdd1ead89f62b 100644 (file)
@@ -3262,12 +3262,6 @@ static const struct of_device_id ccs_of_table[] = {
 };
 MODULE_DEVICE_TABLE(of, ccs_of_table);
 
-static const struct i2c_device_id ccs_id_table[] = {
-       { SMIAPP_NAME, 0 },
-       { },
-};
-MODULE_DEVICE_TABLE(i2c, ccs_id_table);
-
 static const struct dev_pm_ops ccs_pm_ops = {
        SET_SYSTEM_SLEEP_PM_OPS(ccs_suspend, ccs_resume)
        SET_RUNTIME_PM_OPS(ccs_power_off, ccs_power_on, NULL)
@@ -3282,7 +3276,6 @@ static struct i2c_driver ccs_i2c_driver = {
        },
        .probe_new = ccs_probe,
        .remove = ccs_remove,
-       .id_table = ccs_id_table,
 };
 
 static int ccs_module_init(void)