iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 8 May 2024 07:29:27 +0000 (09:29 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 27 May 2024 08:48:57 +0000 (09:48 +0100)
These drivers don't use the driver_data member of struct i2c_device_id,
so don't explicitly initialize this member.

This prepares putting driver_data in an anonymous union which requires
either no initialization or named designators. But it's also a nice
cleanup on its own.

While add it, also remove commas after the sentinel entries.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240508072928.2135858-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
93 files changed:
drivers/iio/accel/adxl367_i2c.c
drivers/iio/accel/adxl372_i2c.c
drivers/iio/accel/bma400_i2c.c
drivers/iio/accel/da311.c
drivers/iio/accel/dmard06.c
drivers/iio/accel/dmard09.c
drivers/iio/accel/dmard10.c
drivers/iio/accel/kxsd9-i2c.c
drivers/iio/accel/mc3230.c
drivers/iio/accel/mma7455_i2c.c
drivers/iio/accel/mma7660.c
drivers/iio/accel/mma9551.c
drivers/iio/accel/mma9553.c
drivers/iio/accel/mxc4005.c
drivers/iio/accel/mxc6255.c
drivers/iio/accel/stk8312.c
drivers/iio/accel/stk8ba50.c
drivers/iio/adc/ad7291.c
drivers/iio/adc/ltc2485.c
drivers/iio/adc/nau7802.c
drivers/iio/adc/ti-ads7924.c
drivers/iio/chemical/ams-iaq-core.c
drivers/iio/chemical/bme680_i2c.c
drivers/iio/chemical/ccs811.c
drivers/iio/dac/mcp4728.c
drivers/iio/gyro/bmg160_i2c.c
drivers/iio/gyro/fxas21002c_i2c.c
drivers/iio/gyro/itg3200_core.c
drivers/iio/health/afe4404.c
drivers/iio/health/max30100.c
drivers/iio/humidity/am2315.c
drivers/iio/humidity/hdc100x.c
drivers/iio/humidity/si7005.c
drivers/iio/humidity/si7020.c
drivers/iio/imu/bmi160/bmi160_i2c.c
drivers/iio/imu/bno055/bno055_i2c.c
drivers/iio/imu/fxos8700_i2c.c
drivers/iio/imu/kmx61.c
drivers/iio/light/adjd_s311.c
drivers/iio/light/adux1020.c
drivers/iio/light/al3320a.c
drivers/iio/light/apds9300.c
drivers/iio/light/apds9960.c
drivers/iio/light/bh1780.c
drivers/iio/light/cm3232.c
drivers/iio/light/cm3323.c
drivers/iio/light/cm36651.c
drivers/iio/light/gp2ap002.c
drivers/iio/light/gp2ap020a00f.c
drivers/iio/light/isl29028.c
drivers/iio/light/isl29125.c
drivers/iio/light/jsa1212.c
drivers/iio/light/lv0104cs.c
drivers/iio/light/max44000.c
drivers/iio/light/max44009.c
drivers/iio/light/noa1305.c
drivers/iio/light/opt3001.c
drivers/iio/light/pa12203001.c
drivers/iio/light/rpr0521.c
drivers/iio/light/si1133.c
drivers/iio/light/stk3310.c
drivers/iio/light/tcs3414.c
drivers/iio/light/tcs3472.c
drivers/iio/light/tsl4531.c
drivers/iio/light/us5182d.c
drivers/iio/light/vcnl4035.c
drivers/iio/light/veml6030.c
drivers/iio/light/veml6070.c
drivers/iio/light/vl6180.c
drivers/iio/light/zopt2201.c
drivers/iio/magnetometer/af8133j.c
drivers/iio/magnetometer/ak8974.c
drivers/iio/magnetometer/bmc150_magn_i2c.c
drivers/iio/magnetometer/mag3110.c
drivers/iio/magnetometer/mmc35240.c
drivers/iio/potentiostat/lmp91000.c
drivers/iio/pressure/dps310.c
drivers/iio/pressure/hp03.c
drivers/iio/pressure/icp10100.c
drivers/iio/pressure/mpl115_i2c.c
drivers/iio/pressure/mpl3115.c
drivers/iio/pressure/t5403.c
drivers/iio/pressure/zpa2326_i2c.c
drivers/iio/proximity/isl29501.c
drivers/iio/proximity/pulsedlight-lidar-lite-v2.c
drivers/iio/proximity/rfd77402.c
drivers/iio/proximity/sx9500.c
drivers/iio/proximity/vl53l0x-i2c.c
drivers/iio/temperature/mlx90632.c
drivers/iio/temperature/tmp006.c
drivers/iio/temperature/tmp007.c
drivers/iio/temperature/tsys01.c
drivers/iio/temperature/tsys02d.c

index 62c74bdc0d77bff87b822d1d6ed2502ffbed6687..deb82a43ec36fb8745c0c408e3b027501d3fb752 100644 (file)
@@ -61,8 +61,8 @@ static int adxl367_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adxl367_i2c_id[] = {
-       { "adxl367", 0 },
-       { },
+       { "adxl367" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, adxl367_i2c_id);
 
index d0690417fd36f2cd037b5c62acfd17bdb320a20e..3571cfde1c0e7c1bc79db5236c7bf8a2707a9a8d 100644 (file)
@@ -42,7 +42,7 @@ static int adxl372_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adxl372_i2c_id[] = {
-       { "adxl372", 0 },
+       { "adxl372" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, adxl372_i2c_id);
index adf4e3fd2e1dff5a2055b36b8600519c2a5d7988..c1c72f577295a87a3e17286355e6efbf10498213 100644 (file)
@@ -28,7 +28,7 @@ static int bma400_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id bma400_i2c_ids[] = {
-       { "bma400", 0 },
+       { "bma400" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, bma400_i2c_ids);
index 8f919920ced5d825be71d58cd55a2c2fee00ff43..94f827acdd1c9fc7245287417b6a32567a995ea1 100644 (file)
@@ -268,7 +268,7 @@ static int da311_resume(struct device *dev)
 static DEFINE_SIMPLE_DEV_PM_OPS(da311_pm_ops, da311_suspend, da311_resume);
 
 static const struct i2c_device_id da311_i2c_id[] = {
-       {"da311", 0},
+       { "da311" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, da311_i2c_id);
index 2e719d60fff8a89ef461f3119c25dd79544b08bd..fb14894c66f953e671d2c21f9fdf26eec93cd614 100644 (file)
@@ -201,9 +201,9 @@ static DEFINE_SIMPLE_DEV_PM_OPS(dmard06_pm_ops, dmard06_suspend,
                                dmard06_resume);
 
 static const struct i2c_device_id dmard06_id[] = {
-       { "dmard05", 0 },
-       { "dmard06", 0 },
-       { "dmard07", 0 },
+       { "dmard05" },
+       { "dmard06" },
+       { "dmard07" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, dmard06_id);
index fa98623de579b946c570473a19f2b405d3609285..6644c1fec3e69116b96dc662a5f3e0ed08705547 100644 (file)
@@ -125,8 +125,8 @@ static int dmard09_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id dmard09_id[] = {
-       { "dmard09", 0 },
-       { },
+       { "dmard09" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, dmard09_id);
index 7745b6ffd1ad567fe5c3ffa50d25d34eec322b1e..35c0eefb741e997fe9f533c441327e57ec5c1ff8 100644 (file)
@@ -231,7 +231,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(dmard10_pm_ops, dmard10_suspend,
                                dmard10_resume);
 
 static const struct i2c_device_id dmard10_i2c_id[] = {
-       {"dmard10", 0},
+       { "dmard10" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, dmard10_i2c_id);
index 3bc9ee1f9db3a9cce65bcb5b30eb3735b717f2b1..c4c7e2d4e98ad992fc447355b159ccc2d5966073 100644 (file)
@@ -43,8 +43,8 @@ static const struct of_device_id kxsd9_of_match[] = {
 MODULE_DEVICE_TABLE(of, kxsd9_of_match);
 
 static const struct i2c_device_id kxsd9_i2c_id[] = {
-       {"kxsd9", 0},
-       { },
+       { "kxsd9" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, kxsd9_i2c_id);
 
index 6b87c2c9945ca9e68d2e543bee739c0ce1a4eaf7..caa40a14a6316acae3a972f0ebe0b325db96eb44 100644 (file)
@@ -180,7 +180,7 @@ static int mc3230_resume(struct device *dev)
 static DEFINE_SIMPLE_DEV_PM_OPS(mc3230_pm_ops, mc3230_suspend, mc3230_resume);
 
 static const struct i2c_device_id mc3230_i2c_id[] = {
-       {"mc3230", 0},
+       { "mc3230" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, mc3230_i2c_id);
index 14f7850a22f043dde2c47484aec55a24e2f7441d..36a357c8e9ed598ee5ffc28caba642be866bf925 100644 (file)
@@ -32,8 +32,8 @@ static void mma7455_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id mma7455_i2c_ids[] = {
-       { "mma7455", 0 },
-       { "mma7456", 0 },
+       { "mma7455" },
+       { "mma7456" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, mma7455_i2c_ids);
index 260cbceaa15189a625ff119580ea11894473713a..d3febc760c4c094953a449bf7faa0b638b6da46e 100644 (file)
@@ -241,7 +241,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(mma7660_pm_ops, mma7660_suspend,
                                mma7660_resume);
 
 static const struct i2c_device_id mma7660_i2c_id[] = {
-       {"mma7660", 0},
+       { "mma7660" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, mma7660_i2c_id);
index 083c08f65bafe580cdac576b34b57e8449b85af7..fa1799b0b0dff35ccd811c4abee3883249c184da 100644 (file)
@@ -595,7 +595,7 @@ static const struct acpi_device_id mma9551_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, mma9551_acpi_match);
 
 static const struct i2c_device_id mma9551_id[] = {
-       {"mma9551", 0},
+       { "mma9551" },
        {}
 };
 
index 3cbd0fd4e6240dae9fa4a1a52e60edabd334313f..86543f34ef17cfe9ed092930b07c2418e0bf373a 100644 (file)
@@ -1234,8 +1234,8 @@ static const struct acpi_device_id mma9553_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, mma9553_acpi_match);
 
 static const struct i2c_device_id mma9553_id[] = {
-       {"mma9553", 0},
-       {},
+       { "mma9553" },
+       {}
 };
 
 MODULE_DEVICE_TABLE(i2c, mma9553_id);
index e56407b6f2045b7a2daae31808d5bcf51b83e1ed..fc54a2a4693c0a0aef155631064c8b016fff41dd 100644 (file)
@@ -584,9 +584,9 @@ static const struct of_device_id mxc4005_of_match[] = {
 MODULE_DEVICE_TABLE(of, mxc4005_of_match);
 
 static const struct i2c_device_id mxc4005_id[] = {
-       {"mxc4005",     0},
-       {"mxc6655",     0},
-       { },
+       { "mxc4005" },
+       { "mxc6655" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mxc4005_id);
 
index ac228128c4f9e48a545397e7e7db854dc696dc9a..a8abda7b2a6398811bc19d4ed7ab5930b66801af 100644 (file)
@@ -172,8 +172,8 @@ static const struct acpi_device_id mxc6255_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, mxc6255_acpi_match);
 
 static const struct i2c_device_id mxc6255_id[] = {
-       {"mxc6225",     0},
-       {"mxc6255",     0},
+       { "mxc6225" },
+       { "mxc6255" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, mxc6255_id);
index ef0ae76722538aefafb8cff199a0e19b51e7be99..b3534d5751b9512ef89008935324981cde160513 100644 (file)
@@ -633,8 +633,8 @@ static DEFINE_SIMPLE_DEV_PM_OPS(stk8312_pm_ops, stk8312_suspend,
 
 static const struct i2c_device_id stk8312_i2c_id[] = {
        /* Deprecated in favour of lowercase form */
-       { "STK8312", 0 },
-       { "stk8312", 0 },
+       { "STK8312" },
+       { "stk8312" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, stk8312_i2c_id);
index 668edc88c89dc80c14ea294e04d418176ce5538f..6d3c7f444d21d3a64e066b4ed484a5f1c545ba97 100644 (file)
@@ -525,7 +525,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(stk8ba50_pm_ops, stk8ba50_suspend,
                                stk8ba50_resume);
 
 static const struct i2c_device_id stk8ba50_i2c_id[] = {
-       {"stk8ba50", 0},
+       { "stk8ba50" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, stk8ba50_i2c_id);
index 14d02b085d3bc81d2f846be30b58412d02bbaa06..b59b2a51623c398893236c75c4ce4f8a6ebced86 100644 (file)
@@ -536,7 +536,7 @@ static int ad7291_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ad7291_id[] = {
-       { "ad7291", 0 },
+       { "ad7291" },
        {}
 };
 
index 859e4314cfa2d4714ac13175e0d468a60d45ddad..060651dd41306196518047467409d38f4dabda90 100644 (file)
@@ -124,7 +124,7 @@ static int ltc2485_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ltc2485_id[] = {
-       { "ltc2485", 0 },
+       { "ltc2485" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ltc2485_id);
index d9e1696df7ae453630e276aec39265563ccceb84..600151a62f1fe30e4aec4963a9a57251db7908a7 100644 (file)
@@ -532,7 +532,7 @@ static int nau7802_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id nau7802_i2c_id[] = {
-       { "nau7802", 0 },
+       { "nau7802" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nau7802_i2c_id);
index afdbd04778a87ebb2e7421f32c32ccacf8753c0d..4da78302359b4540890d0189863aae0a204d23ad 100644 (file)
@@ -447,7 +447,7 @@ static int ads7924_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ads7924_id[] = {
-       { "ads7924", 0 },
+       { "ads7924" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, ads7924_id);
index 164facac5db615536c154214f63cdaf9d958dcff..4d605c2b9750e61ff8939efc2f904d24a2e5a9ac 100644 (file)
@@ -163,7 +163,7 @@ static int ams_iaqcore_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ams_iaqcore_id[] = {
-       { "ams-iaq-core", 0 },
+       { "ams-iaq-core" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ams_iaqcore_id);
index 1c7076cf91cafa613ae1c3a9bf2084618befee63..7c4224d75955f74354e549c99e60e5048086ee12 100644 (file)
@@ -36,8 +36,8 @@ static int bme680_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id bme680_i2c_id[] = {
-       {"bme680", 0},
-       {},
+       { "bme680" },
+       {}
 };
 MODULE_DEVICE_TABLE(i2c, bme680_i2c_id);
 
index 87741f155c32b632cd44e2cc5e56a7ee529c592f..17d1bc518bf208ad8f56ea6815e34b4b99a0f61e 100644 (file)
@@ -551,7 +551,7 @@ static void ccs811_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ccs811_id[] = {
-       {"ccs811", 0},
+       { "ccs811" },
        {       }
 };
 MODULE_DEVICE_TABLE(i2c, ccs811_id);
index 5113f67ddc31ecb1381529bfe209f17565d12a08..c449ca949465d34d720e5ceaf160fe174107151a 100644 (file)
@@ -591,7 +591,7 @@ static int mcp4728_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id mcp4728_id[] = {
-       { "mcp4728", 0 },
+       { "mcp4728" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, mcp4728_id);
index 9c8e20c25e96bde54b29595c36dfc96ec25df07a..672d0b720f610a73aa8dabf77658a9d9e9eebf2e 100644 (file)
@@ -47,9 +47,9 @@ static const struct acpi_device_id bmg160_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, bmg160_acpi_match);
 
 static const struct i2c_device_id bmg160_i2c_id[] = {
-       {"bmg160", 0},
-       {"bmi055_gyro", 0},
-       {"bmi088_gyro", 0},
+       { "bmg160" },
+       { "bmi055_gyro" },
+       { "bmi088_gyro" },
        {}
 };
 
index ee7f21b718e2db57752581bd71210f70297f747a..b1318a1ea41bfc6400a84dccb7033196d497ff33 100644 (file)
@@ -39,7 +39,7 @@ static void fxas21002c_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id fxas21002c_i2c_id[] = {
-       { "fxas21002c", 0 },
+       { "fxas21002c" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, fxas21002c_i2c_id);
index 53fb92f0ac7ef909551a73fc400dfc88a51ca13c..cd8a2dae56cd90b9436a581d93f557f145ea128a 100644 (file)
@@ -387,7 +387,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(itg3200_pm_ops, itg3200_suspend,
                                itg3200_resume);
 
 static const struct i2c_device_id itg3200_id[] = {
-       { "itg3200", 0 },
+       { "itg3200" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, itg3200_id);
index 7768b07ef7a6f887ed0d43af928836dfaf24653d..390fbb6effaf756778c4c46d0ef73e7a58a0787f 100644 (file)
@@ -582,7 +582,7 @@ static int afe4404_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id afe4404_ids[] = {
-       { "afe4404", 0 },
+       { "afe4404" },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(i2c, afe4404_ids);
index 6236b4d9613786201d797749a4df99c8787a8345..1dc0df21450d3b1689cb1db8b0e825938cf7cbc1 100644 (file)
@@ -483,7 +483,7 @@ static void max30100_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max30100_id[] = {
-       { "max30100", 0 },
+       { "max30100" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, max30100_id);
index 37a35d1153d5023f049d9efbe85c6216eff36a1c..a56474be5dd2337a41a6b09a8da0d35e3a23c807 100644 (file)
@@ -253,7 +253,7 @@ static int am2315_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id am2315_i2c_id[] = {
-       {"am2315", 0},
+       { "am2315" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, am2315_i2c_id);
index 202014da2785c74a9bbaa1ec89544c802f507fb1..9b355380c9bfb4d52644840137789253e02568f2 100644 (file)
@@ -396,12 +396,12 @@ static int hdc100x_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id hdc100x_id[] = {
-       { "hdc100x", 0 },
-       { "hdc1000", 0 },
-       { "hdc1008", 0 },
-       { "hdc1010", 0 },
-       { "hdc1050", 0 },
-       { "hdc1080", 0 },
+       { "hdc100x" },
+       { "hdc1000" },
+       { "hdc1008" },
+       { "hdc1010" },
+       { "hdc1050" },
+       { "hdc1080" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, hdc100x_id);
index 9465908cc65ed0fa10b5db10147af45bef1d289e..0797ece1fcba6dd228f2bde4f043715b85c1bcb9 100644 (file)
@@ -163,8 +163,8 @@ static int si7005_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id si7005_id[] = {
-       { "si7005", 0 },
-       { "th02", 0 },
+       { "si7005" },
+       { "th02" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, si7005_id);
index fb10066493288829a15c3b83fb254ed6b6bd9bab..d34a915e3d4a1de6bdd9e65f2009e7bc562abd91 100644 (file)
@@ -138,8 +138,8 @@ static int si7020_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id si7020_id[] = {
-       { "si7020", 0 },
-       { "th06", 0 },
+       { "si7020" },
+       { "th06" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, si7020_id);
index d0ec5301ad9a71d62c41f908c54380ab8b71e86b..3aa5d748f9b68240256967594785520ae6d9d27c 100644 (file)
@@ -37,8 +37,8 @@ static int bmi160_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id bmi160_i2c_id[] = {
-       {"bmi120", 0},
-       {"bmi160", 0},
+       { "bmi120" },
+       { "bmi160" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, bmi160_i2c_id);
index 6ecd750c6b7640b9e68b33fd5f848e603d0df669..cf3dd62a83ba8a00ca3636d34bf96bceacfe3036 100644 (file)
@@ -30,7 +30,7 @@ static int bno055_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id bno055_i2c_id[] = {
-       {"bno055", 0},
+       { "bno055" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, bno055_i2c_id);
index e99677ad96a2f9041b8399a83b28586357371122..2cc4a27a4527d1086a824a3627877a528b486de2 100644 (file)
@@ -36,7 +36,7 @@ static int fxos8700_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id fxos8700_i2c_id[] = {
-       {"fxos8700", 0},
+       { "fxos8700" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, fxos8700_i2c_id);
index 7d3e061f30463dfdc6c9c21b653a1ee9189fecbe..d37eca5ef761e3bfd56c7ecf26061281c2233b95 100644 (file)
@@ -1505,7 +1505,7 @@ static const struct acpi_device_id kmx61_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, kmx61_acpi_match);
 
 static const struct i2c_device_id kmx61_id[] = {
-       {"kmx611021", 0},
+       { "kmx611021" },
        {}
 };
 
index 5fd775a20176dbc3debffd1e9b9f0538869c684e..5169f12c3ebafd18fcb3717133116cab84c1f52d 100644 (file)
@@ -261,7 +261,7 @@ static int adjd_s311_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adjd_s311_id[] = {
-       { "adjd_s311", 0 },
+       { "adjd_s311" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adjd_s311_id);
index aa4a6c78f0aa86476fd0d26120e80542b6113f18..d4eb938c3bf59dece6bb142529c59db0acaf61c9 100644 (file)
@@ -821,7 +821,7 @@ static int adux1020_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adux1020_id[] = {
-       { "adux1020", 0 },
+       { "adux1020" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, adux1020_id);
index 105f379b9b414f33466583aad1b6834f501d3837..497ea3fe337775b07efdfc56c80beb1aa55e394c 100644 (file)
@@ -236,7 +236,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(al3320a_pm_ops, al3320a_suspend,
                                al3320a_resume);
 
 static const struct i2c_device_id al3320a_id[] = {
-       {"al3320a", 0},
+       { "al3320a" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, al3320a_id);
index 0f978b30a232ca8f8c1462fa5382b0cda22b6abd..11f2ab4ca261813aff04b8c25d4595a531fb43cb 100644 (file)
@@ -493,7 +493,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(apds9300_pm_ops, apds9300_suspend,
                                apds9300_resume);
 
 static const struct i2c_device_id apds9300_id[] = {
-       { APDS9300_DRV_NAME, 0 },
+       { APDS9300_DRV_NAME },
        { }
 };
 
index 1065a340b12bf9cb6984e9b95d711435e5c5a5a2..e9e65130b6f9116d88054d6e07c52b63ff32f7eb 100644 (file)
@@ -1107,7 +1107,7 @@ static const struct dev_pm_ops apds9960_pm_ops = {
 };
 
 static const struct i2c_device_id apds9960_id[] = {
-       { "apds9960", 0 },
+       { "apds9960" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, apds9960_id);
index b84166c5fa06eec1287856159ea1a7dd49fc587e..475f44954f61106260d9de0939e59bb3c34ef65e 100644 (file)
@@ -256,8 +256,8 @@ static DEFINE_RUNTIME_DEV_PM_OPS(bh1780_dev_pm_ops, bh1780_runtime_suspend,
                                bh1780_runtime_resume, NULL);
 
 static const struct i2c_device_id bh1780_id[] = {
-       { "bh1780", 0 },
-       { },
+       { "bh1780" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, bh1780_id);
index d48a70efca69ff87d70a93630a13a96f9ed00af2..b6288dd25bbff35a7efeef9f682587bc4b5e8976 100644 (file)
@@ -368,7 +368,7 @@ static void cm3232_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id cm3232_id[] = {
-       {"cm3232", 0},
+       { "cm3232" },
        {}
 };
 
index 35d20207a6481aa39eed6ab2fc1b0b5350c6d2ed..79a64e2ff812460a765112c2cd49ef17c6c1ac5c 100644 (file)
@@ -250,7 +250,7 @@ static int cm3323_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id cm3323_id[] = {
-       {"cm3323", 0},
+       { "cm3323" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, cm3323_id);
index 97e559acba2b25947a2cfcb1e7e55d91dfbaaa1a..a4a1505534c015e3146c00de3e38966ffd712a5b 100644 (file)
@@ -713,7 +713,7 @@ static void cm36651_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id cm36651_id[] = {
-       { "cm36651", 0 },
+       { "cm36651" },
        { }
 };
 
index fec10d5e037ec1739d0756d2b1e23212557702a6..7125e011a38ae80ed2bd1cfdcf8add076f5df20d 100644 (file)
@@ -692,8 +692,8 @@ static DEFINE_RUNTIME_DEV_PM_OPS(gp2ap002_dev_pm_ops, gp2ap002_runtime_suspend,
                                 gp2ap002_runtime_resume, NULL);
 
 static const struct i2c_device_id gp2ap002_id_table[] = {
-       { "gp2ap002", 0 },
-       { },
+       { "gp2ap002" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, gp2ap002_id_table);
 
index 9a476697aa1f7c6a035eb7881fcd1cdb1cb0b831..757383456da69997951bce1f975f0d2faba24bed 100644 (file)
@@ -1591,7 +1591,7 @@ static void gp2ap020a00f_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id gp2ap020a00f_id[] = {
-       { GP2A_I2C_NAME, 0 },
+       { GP2A_I2C_NAME },
        { }
 };
 
index 5694683389bec1c20f8fcc020f2971370ad19fa4..95bfb3ffa519a10261320afd6065822a957c70f8 100644 (file)
@@ -678,8 +678,8 @@ static DEFINE_RUNTIME_DEV_PM_OPS(isl29028_pm_ops, isl29028_suspend,
                                 isl29028_resume, NULL);
 
 static const struct i2c_device_id isl29028_id[] = {
-       {"isl29028", 0},
-       {"isl29030", 0},
+       { "isl29028" },
+       { "isl29030" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, isl29028_id);
index f1d3356d33697a4e4e24c57f593525d3038e216d..59329546df58de265371ec859030a35133a50a3d 100644 (file)
@@ -327,7 +327,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(isl29125_pm_ops, isl29125_suspend,
                                isl29125_resume);
 
 static const struct i2c_device_id isl29125_id[] = {
-       { "isl29125", 0 },
+       { "isl29125" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, isl29125_id);
index 869196746045e339cbc8a2765b0fcca3d8dbd9a5..e7ba934c8e693d2122bb77b7d862bf6763976329 100644 (file)
@@ -429,7 +429,7 @@ static const struct acpi_device_id jsa1212_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, jsa1212_acpi_match);
 
 static const struct i2c_device_id jsa1212_id[] = {
-       { JSA1212_DRIVER_NAME, 0 },
+       { JSA1212_DRIVER_NAME },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, jsa1212_id);
index a5445d58fddfc3a5c13b3f28f31e7f5ee843600d..916109ec32177d51bdfad7b3cc1e1bf8020be51f 100644 (file)
@@ -510,7 +510,7 @@ static int lv0104cs_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lv0104cs_id[] = {
-       { "lv0104cs", 0 },
+       { "lv0104cs" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, lv0104cs_id);
index 26b464b1b650eceaaaa76906f661f40b2ff4bf6d..b935976871a6f08c9c9df0b7b3d952f2c8806cb9 100644 (file)
@@ -598,7 +598,7 @@ static int max44000_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max44000_id[] = {
-       {"max44000", 0},
+       { "max44000" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max44000_id);
index 61ce276e86f7c242043eed65d8644dac7fb81126..3b92362675dc96fd37272bb5c25c20717b8c25b0 100644 (file)
@@ -534,7 +534,7 @@ static const struct of_device_id max44009_of_match[] = {
 MODULE_DEVICE_TABLE(of, max44009_of_match);
 
 static const struct i2c_device_id max44009_id[] = {
-       { "max44009", 0 },
+       { "max44009" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max44009_id);
index 1574310020e3d5e7a8ee0fee2c2356fa77bea6d1..596cc48c4c3415c57376c7f9a42c2068b0417df2 100644 (file)
@@ -268,7 +268,7 @@ static const struct of_device_id noa1305_of_match[] = {
 MODULE_DEVICE_TABLE(of, noa1305_of_match);
 
 static const struct i2c_device_id noa1305_ids[] = {
-       { "noa1305", 0 },
+       { "noa1305" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, noa1305_ids);
index cb41e5ee8ec10baa23d0bc9175656e035a4cad65..887c4b776a8696f7429eaceeefcac3d9d661efac 100644 (file)
@@ -822,7 +822,7 @@ static void opt3001_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id opt3001_id[] = {
-       { "opt3001", 0 },
+       { "opt3001" },
        { } /* Terminating Entry */
 };
 MODULE_DEVICE_TABLE(i2c, opt3001_id);
index 636432c45651d2aadd5133a14d5b952735efe57c..b920bf82c102186ab7954133de28a5b35016eb11 100644 (file)
@@ -462,7 +462,7 @@ static const struct acpi_device_id pa12203001_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, pa12203001_acpi_match);
 
 static const struct i2c_device_id pa12203001_id[] = {
-               { "txcpa122", 0 },
+               { "txcpa122" },
                {}
 };
 
index 40d5732b5e320e35993c5368e2a532e16423d34f..78c08e0bd0776a28aa81942e60bbc2ba97f798a4 100644 (file)
@@ -1109,7 +1109,7 @@ static const struct acpi_device_id rpr0521_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, rpr0521_acpi_match);
 
 static const struct i2c_device_id rpr0521_id[] = {
-       {"rpr0521", 0},
+       { "rpr0521" },
        { }
 };
 
index ea2c437199c0fb37739b4e5b40360f16f2a74b8f..eeff6cc792f222df07316b5ec6f0d61f7057eb21 100644 (file)
@@ -1055,7 +1055,7 @@ static int si1133_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id si1133_ids[] = {
-       { "si1133", 0 },
+       { "si1133" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, si1133_ids);
index 08d471438175eba99ceb1ad2cf4b6e309aad4723..3a03823e488a904950310a46a485b1a7c9293121 100644 (file)
@@ -683,9 +683,9 @@ static DEFINE_SIMPLE_DEV_PM_OPS(stk3310_pm_ops, stk3310_suspend,
                                stk3310_resume);
 
 static const struct i2c_device_id stk3310_i2c_id[] = {
-       {"STK3310", 0},
-       {"STK3311", 0},
-       {"STK3335", 0},
+       { "STK3310" },
+       { "STK3311" },
+       { "STK3335" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, stk3310_i2c_id);
index dcdd85b006be0b9e7f4cb073160cafca93ffd915..c9566615b96441467c6ce69e28f269d1e96983fc 100644 (file)
@@ -363,7 +363,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(tcs3414_pm_ops, tcs3414_suspend,
                                tcs3414_resume);
 
 static const struct i2c_device_id tcs3414_id[] = {
-       { "tcs3414", 0 },
+       { "tcs3414" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tcs3414_id);
index 75fcf2c93717b67d9ba0e144b03a5b21cbcfad71..89384dba83dd11e912757cfb5d023f8a1df462b4 100644 (file)
@@ -599,7 +599,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(tcs3472_pm_ops, tcs3472_suspend,
                                tcs3472_resume);
 
 static const struct i2c_device_id tcs3472_id[] = {
-       { "tcs3472", 0 },
+       { "tcs3472" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tcs3472_id);
index 4da7d78906d4a361b0d43f3ba2fd11305300533e..a5788c09ad02fc3d6860a08cae802ba66fc98331 100644 (file)
@@ -227,7 +227,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(tsl4531_pm_ops, tsl4531_suspend,
                                tsl4531_resume);
 
 static const struct i2c_device_id tsl4531_id[] = {
-       { "tsl4531", 0 },
+       { "tsl4531" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tsl4531_id);
index 9189a1d4d7e1ab55cd9d67280d1881b8584fbdc4..de6967ac3b0b3be02a96f3eb05aa58c49b0c87c7 100644 (file)
@@ -955,7 +955,7 @@ static const struct acpi_device_id us5182d_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, us5182d_acpi_match);
 
 static const struct i2c_device_id us5182d_id[] = {
-       { "usd5182", 0 },
+       { "usd5182" },
        {}
 };
 
index 56bbefbc0ae6434514670f2e84bca38db1118ee3..337a1332c2c64ad8a2d838a89826e4726c8de8b3 100644 (file)
@@ -653,7 +653,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(vcnl4035_pm_ops, vcnl4035_runtime_suspend,
                                 vcnl4035_runtime_resume, NULL);
 
 static const struct i2c_device_id vcnl4035_id[] = {
-       { "vcnl4035", 0 },
+       { "vcnl4035" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, vcnl4035_id);
index 043f233d9bdb068dea467c5a6068519f9501dabc..4be151308574358b240a1d0e99710279418a956a 100644 (file)
@@ -881,7 +881,7 @@ static const struct of_device_id veml6030_of_match[] = {
 MODULE_DEVICE_TABLE(of, veml6030_of_match);
 
 static const struct i2c_device_id veml6030_id[] = {
-       { "veml6030", 0 },
+       { "veml6030" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, veml6030_id);
index d99bf3ae0fe8e943d13016568fb8ed2a4dff8c0d..f8321d346d7757b2264d2cddc35e96518a6cac15 100644 (file)
@@ -189,7 +189,7 @@ static void veml6070_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id veml6070_id[] = {
-       { "veml6070", 0 },
+       { "veml6070" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, veml6070_id);
index dcadf6428a87d24316df3a767bac067b09051f41..a1b2b3c0b4c8895e0e2e07412194978998735441 100644 (file)
@@ -527,7 +527,7 @@ static const struct of_device_id vl6180_of_match[] = {
 MODULE_DEVICE_TABLE(of, vl6180_of_match);
 
 static const struct i2c_device_id vl6180_id[] = {
-       { "vl6180", 0 },
+       { "vl6180" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, vl6180_id);
index d370193a4742347db7fc7de1846c3a5ac9180b2f..327f94e447af4961b91a60679c694cd6e29562c7 100644 (file)
@@ -545,7 +545,7 @@ static int zopt2201_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id zopt2201_id[] = {
-       { "zopt2201", 0 },
+       { "zopt2201" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, zopt2201_id);
index 742bbdf25f08ca0303f81e58d729dd6f14ca3257..d81d89af6283b70162ebcc62bb0f332c7f1a8c92 100644 (file)
@@ -505,7 +505,7 @@ static const struct of_device_id af8133j_of_match[] = {
 MODULE_DEVICE_TABLE(of, af8133j_of_match);
 
 static const struct i2c_device_id af8133j_id[] = {
-       { "af8133j", 0 },
+       { "af8133j" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, af8133j_id);
index c74d11943ec797b3cfde6efece6f73a6fa446e4b..d802034c5402cc46883844ed504635f0f57afd3e 100644 (file)
@@ -1025,10 +1025,10 @@ static DEFINE_RUNTIME_DEV_PM_OPS(ak8974_dev_pm_ops, ak8974_runtime_suspend,
                                 ak8974_runtime_resume, NULL);
 
 static const struct i2c_device_id ak8974_id[] = {
-       {"ami305", 0 },
-       {"ami306", 0 },
-       {"ak8974", 0 },
-       {"hscdtd008a", 0 },
+       { "ami305" },
+       { "ami306" },
+       { "ak8974" },
+       { "hscdtd008a" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, ak8974_id);
index 48d9c698f520eadadfbf691a8fa360578abc53ad..a28d46d59875faefa588538f8d02faab5d61ecec 100644 (file)
@@ -47,9 +47,9 @@ static const struct acpi_device_id bmc150_magn_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, bmc150_magn_acpi_match);
 
 static const struct i2c_device_id bmc150_magn_i2c_id[] = {
-       {"bmc150_magn", 0},
-       {"bmc156_magn", 0},
-       {"bmm150_magn", 0},
+       { "bmc150_magn" },
+       { "bmc156_magn" },
+       { "bmm150_magn" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, bmc150_magn_i2c_id);
index deffe3ca90043bbeba9055470fa244842a2d0c1a..5295dc0100e4c12ba7dcf635fb09fa4e8478aebf 100644 (file)
@@ -624,7 +624,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(mag3110_pm_ops, mag3110_suspend,
                                mag3110_resume);
 
 static const struct i2c_device_id mag3110_id[] = {
-       { "mag3110", 0 },
+       { "mag3110" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, mag3110_id);
index 6b9f4b05619122582b40b5d213386e9af5954e2e..c57932db455fabccf27cc84f6894546c53a7d1d1 100644 (file)
@@ -563,7 +563,7 @@ static const struct acpi_device_id mmc35240_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, mmc35240_acpi_match);
 
 static const struct i2c_device_id mmc35240_id[] = {
-       {"mmc35240", 0},
+       { "mmc35240" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, mmc35240_id);
index bd0f2c3bf2f2d0b33c3f613bf77f6b355bc44fcb..c2c6b2b298675bbae7fda6cf8b4b99b43d0b1f8d 100644 (file)
@@ -405,8 +405,8 @@ static const struct of_device_id lmp91000_of_match[] = {
 MODULE_DEVICE_TABLE(of, lmp91000_of_match);
 
 static const struct i2c_device_id lmp91000_id[] = {
-       { "lmp91000", 0 },
-       { "lmp91002", 0 },
+       { "lmp91000" },
+       { "lmp91002" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, lmp91000_id);
index 7d882e15e5564a805045ec1fd283d674ac3d8a39..c6f44f0f4d2e630892e44993225484b1ebe68caa 100644 (file)
@@ -887,7 +887,7 @@ static int dps310_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id dps310_id[] = {
-       { DPS310_DEV_NAME, 0 },
+       { DPS310_DEV_NAME },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, dps310_id);
index 8bdb279129fa21df271c3b2dfe0ff95571baf667..6f7a16787143ce0896b2b1d07eb73e96768dbd89 100644 (file)
@@ -266,8 +266,8 @@ static int hp03_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id hp03_id[] = {
-       { "hp03", 0 },
-       { },
+       { "hp03" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, hp03_id);
 
index 2086f3ef338fefb6519c92b59d461beff15ef596..3e0bf5d31ad7a48a1df37361153819e5e81e6e53 100644 (file)
@@ -637,7 +637,7 @@ static const struct of_device_id icp10100_of_match[] = {
 MODULE_DEVICE_TABLE(of, icp10100_of_match);
 
 static const struct i2c_device_id icp10100_id[] = {
-       { "icp10100", 0 },
+       { "icp10100" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, icp10100_id);
index fcbdadf4a51189e34f0b58fc9154fed4ea2e96d6..0c51dc02478e21cc1aaf4e8c4826559c14e99811 100644 (file)
@@ -45,7 +45,7 @@ static int mpl115_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id mpl115_i2c_id[] = {
-       { "mpl115", 0 },
+       { "mpl115" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, mpl115_i2c_id);
index 7aa19584c340c16c836822b93a527570a51e5755..71ded2eee060f8d3be9c793d3e48a717eda1803e 100644 (file)
@@ -318,7 +318,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(mpl3115_pm_ops, mpl3115_suspend,
                                mpl3115_resume);
 
 static const struct i2c_device_id mpl3115_id[] = {
-       { "mpl3115", 0 },
+       { "mpl3115" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, mpl3115_id);
index a6463c06975eb5fcb416cea086941fa6c7d0e17a..c7cb0fd816d3c5eab956576f29324d5086adb906 100644 (file)
@@ -251,7 +251,7 @@ static int t5403_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id t5403_id[] = {
-       { "t5403", 0 },
+       { "t5403" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, t5403_id);
index c7fffbe7c788ab3263e45c78c348433a3f9257da..4833e525c39357a4a15165937c99a85b4415b3a3 100644 (file)
@@ -59,8 +59,8 @@ static void zpa2326_remove_i2c(struct i2c_client *client)
 }
 
 static const struct i2c_device_id zpa2326_i2c_ids[] = {
-       { "zpa2326", 0 },
-       { },
+       { "zpa2326" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, zpa2326_i2c_ids);
 
index 4982686fb4c3091486f7851ed045292d4aad8f6b..dc66ca9bba6b4676bebaa7f6a7582d9667cfc70a 100644 (file)
@@ -989,7 +989,7 @@ static int isl29501_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id isl29501_id[] = {
-       {"isl29501", 0},
+       { "isl29501" },
        {}
 };
 
index 2913d5e0fe4f99576ed2b7cf7e5c0645e6844c94..5c959730aecd859daa9c9687942941ee89508dc4 100644 (file)
@@ -322,9 +322,9 @@ static void lidar_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lidar_id[] = {
-       {"lidar-lite-v2", 0},
-       {"lidar-lite-v3", 0},
-       { },
+       { "lidar-lite-v2" },
+       { "lidar-lite-v3" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, lidar_id);
 
index f02e83e3f15f34628da3be5fab40d6d3e5befd21..aff60a3c1a6f04b9a12585489a76208f59157b6c 100644 (file)
@@ -308,7 +308,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(rfd77402_pm_ops, rfd77402_suspend,
                                rfd77402_resume);
 
 static const struct i2c_device_id rfd77402_id[] = {
-       { "rfd77402", 0 },
+       { "rfd77402" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rfd77402_id);
index 550e7d3cd5ee5ed2346d7ca0319fe2640471a8e8..b89d49defd7a341b22776c6f38d904e6150f786e 100644 (file)
@@ -1043,8 +1043,8 @@ static const struct of_device_id sx9500_of_match[] = {
 MODULE_DEVICE_TABLE(of, sx9500_of_match);
 
 static const struct i2c_device_id sx9500_id[] = {
-       {"sx9500", 0},
-       { },
+       { "sx9500" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, sx9500_id);
 
index 2cea64bea9098657bd482c52223c12836e984404..8d4f3f849fe246370f34d6c4b0a4dbaf90204d6a 100644 (file)
@@ -278,7 +278,7 @@ static int vl53l0x_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id vl53l0x_id[] = {
-       { "vl53l0x", 0 },
+       { "vl53l0x" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, vl53l0x_id);
index 8a57be108620af2733bb9f8a170b542960487163..4676e0edde4a7341bfb0e558940c9655f5385224 100644 (file)
@@ -1279,7 +1279,7 @@ static int mlx90632_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id mlx90632_id[] = {
-       { "mlx90632", 0 },
+       { "mlx90632" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, mlx90632_id);
index 3a3904fe138c116e03b435f1a73cab45af4c42b9..6d8d661f0c82aa7e610ae28bc7823143a2381cfa 100644 (file)
@@ -280,7 +280,7 @@ static const struct of_device_id tmp006_of_match[] = {
 MODULE_DEVICE_TABLE(of, tmp006_of_match);
 
 static const struct i2c_device_id tmp006_id[] = {
-       { "tmp006", 0 },
+       { "tmp006" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tmp006_id);
index decef689636238d2bfa7954a5fda885236c0efdd..9bdfa94234929c35f3e4871bc291be21bbfba82e 100644 (file)
@@ -563,7 +563,7 @@ static const struct of_device_id tmp007_of_match[] = {
 MODULE_DEVICE_TABLE(of, tmp007_of_match);
 
 static const struct i2c_device_id tmp007_id[] = {
-       { "tmp007", 0 },
+       { "tmp007" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tmp007_id);
index 53ef56fbfe1defd1353382c1ecf73575852363c7..9213761c5d18a42cbb1ad2f7a3bbadc20dc1c7ed 100644 (file)
@@ -206,7 +206,7 @@ static int tsys01_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tsys01_id[] = {
-       {"tsys01", 0},
+       { "tsys01" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, tsys01_id);
index 6191db92ef9a53751e26725567bd75e7e80130b1..2b4959d6e46761737e9474f30ab3fdc99b1e46b9 100644 (file)
@@ -168,7 +168,7 @@ static int tsys02d_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tsys02d_id[] = {
-       {"tsys02d", 0},
+       { "tsys02d" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, tsys02d_id);