hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 30 Apr 2024 08:56:53 +0000 (10:56 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 1 May 2024 14:47:49 +0000 (07:47 -0700)
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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240430085654.1028864-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
100 files changed:
Documentation/hwmon/pmbus.rst
drivers/hwmon/ad7414.c
drivers/hwmon/adc128d818.c
drivers/hwmon/adm1026.c
drivers/hwmon/adm1029.c
drivers/hwmon/adm1177.c
drivers/hwmon/adt7410.c
drivers/hwmon/adt7411.c
drivers/hwmon/adt7462.c
drivers/hwmon/adt7470.c
drivers/hwmon/asb100.c
drivers/hwmon/atxp1.c
drivers/hwmon/ds620.c
drivers/hwmon/emc2103.c
drivers/hwmon/emc2305.c
drivers/hwmon/emc6w201.c
drivers/hwmon/ftsteutates.c
drivers/hwmon/g760a.c
drivers/hwmon/g762.c
drivers/hwmon/gl518sm.c
drivers/hwmon/gl520sm.c
drivers/hwmon/hih6130.c
drivers/hwmon/hs3001.c
drivers/hwmon/ina209.c
drivers/hwmon/ina238.c
drivers/hwmon/ina3221.c
drivers/hwmon/jc42.c
drivers/hwmon/lineage-pem.c
drivers/hwmon/lm73.c
drivers/hwmon/lm77.c
drivers/hwmon/lm87.c
drivers/hwmon/lm93.c
drivers/hwmon/lm95241.c
drivers/hwmon/lm95245.c
drivers/hwmon/ltc2945.c
drivers/hwmon/ltc2947-i2c.c
drivers/hwmon/ltc2990.c
drivers/hwmon/ltc2991.c
drivers/hwmon/ltc2992.c
drivers/hwmon/ltc4151.c
drivers/hwmon/ltc4215.c
drivers/hwmon/ltc4222.c
drivers/hwmon/ltc4245.c
drivers/hwmon/ltc4260.c
drivers/hwmon/ltc4261.c
drivers/hwmon/max127.c
drivers/hwmon/max1619.c
drivers/hwmon/max31730.c
drivers/hwmon/max31790.c
drivers/hwmon/max6620.c
drivers/hwmon/max6639.c
drivers/hwmon/max6642.c
drivers/hwmon/mc34vr500.c
drivers/hwmon/nct7802.c
drivers/hwmon/nct7904.c
drivers/hwmon/pcf8591.c
drivers/hwmon/pmbus/adm1266.c
drivers/hwmon/pmbus/adp1050.c
drivers/hwmon/pmbus/inspur-ipsps.c
drivers/hwmon/pmbus/ir35221.c
drivers/hwmon/pmbus/ir36021.c
drivers/hwmon/pmbus/ir38064.c
drivers/hwmon/pmbus/irps5401.c
drivers/hwmon/pmbus/lt7182s.c
drivers/hwmon/pmbus/ltc3815.c
drivers/hwmon/pmbus/max15301.c
drivers/hwmon/pmbus/max16064.c
drivers/hwmon/pmbus/max20751.c
drivers/hwmon/pmbus/max31785.c
drivers/hwmon/pmbus/max8688.c
drivers/hwmon/pmbus/mp2888.c
drivers/hwmon/pmbus/mp5990.c
drivers/hwmon/pmbus/mpq8785.c
drivers/hwmon/pmbus/pli1209bc.c
drivers/hwmon/pmbus/pm6764tr.c
drivers/hwmon/pmbus/pxe1610.c
drivers/hwmon/pmbus/stpddc60.c
drivers/hwmon/pmbus/tda38640.c
drivers/hwmon/pmbus/tps40422.c
drivers/hwmon/pmbus/tps546d24.c
drivers/hwmon/pmbus/xdp710.c
drivers/hwmon/pmbus/xdpe12284.c
drivers/hwmon/pmbus/xdpe152c4.c
drivers/hwmon/pt5161l.c
drivers/hwmon/sbrmi.c
drivers/hwmon/sbtsi_temp.c
drivers/hwmon/sht21.c
drivers/hwmon/sht4x.c
drivers/hwmon/smsc47m192.c
drivers/hwmon/stts751.c
drivers/hwmon/tc654.c
drivers/hwmon/tc74.c
drivers/hwmon/tmp102.c
drivers/hwmon/tmp103.c
drivers/hwmon/tmp108.c
drivers/hwmon/w83791d.c
drivers/hwmon/w83792d.c
drivers/hwmon/w83793.c
drivers/hwmon/w83l785ts.c
drivers/hwmon/w83l786ng.c

index eb1569bfa676eaca0853839cf5235df2f523c7e2..d477124cf67fcbad95f87d218ed3be97f7fb301d 100644 (file)
@@ -152,7 +152,7 @@ Emerson DS1200 power modules might look as follows::
   }
 
   static const struct i2c_device_id ds1200_id[] = {
-       {"ds1200", 0},
+       {"ds1200"},
        {}
   };
 
index 7f1bef59046f09b8989f286519194615ea032ab9..f0b17e59827f9145376b204506e03db447da3ae7 100644 (file)
@@ -205,7 +205,7 @@ static int ad7414_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ad7414_id[] = {
-       { "ad7414", 0 },
+       { "ad7414" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, ad7414_id);
index 46e3c8c507657366a9377e23d1f73fbb2b152ceb..8cd013d2c547f06dc86fcdef3bb11f4b527681f6 100644 (file)
@@ -504,7 +504,7 @@ static void adc128_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adc128_id[] = {
-       { "adc128d818", 0 },
+       { "adc128d818" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adc128_id);
index 581d8edf70ea4e1720f9cfe25ea70a0e42cef1b7..80d09b017d3b73aa46a1d4bd074acb6a407609d4 100644 (file)
@@ -1849,7 +1849,7 @@ static int adm1026_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adm1026_id[] = {
-       { "adm1026", 0 },
+       { "adm1026" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adm1026_id);
index 9a465f3f71c863aa7748f20ec3ff895d157ee51b..761c130924884965d926b8a451ac952c10513d00 100644 (file)
@@ -379,7 +379,7 @@ static int adm1029_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adm1029_id[] = {
-       { "adm1029", 0 },
+       { "adm1029" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adm1029_id);
index 3390102d2d4acfcc2a083a69d47ec3e70f06c453..8b2c965480e3fb3ea60b0ff38f33dcccd0628e57 100644 (file)
@@ -238,7 +238,7 @@ static int adm1177_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adm1177_id[] = {
-       {"adm1177", 0},
+       {"adm1177"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, adm1177_id);
index d15f64d4b6e755198e8c37a5e238c75b686f4aae..3bf0e0a0882c11758dae8a528b91ec1156395c88 100644 (file)
@@ -88,8 +88,8 @@ static int adt7410_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adt7410_ids[] = {
-       { "adt7410", 0 },
-       { "adt7420", 0 },
+       { "adt7410" },
+       { "adt7420" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, adt7410_ids);
index 45fe4e8aae4e2509114ef96b1a3d47a83dc705b4..08d0effd97f788dd36d19955c145d705681d14ae 100644 (file)
@@ -697,7 +697,7 @@ static int adt7411_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adt7411_id[] = {
-       { "adt7411", 0 },
+       { "adt7411" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adt7411_id);
index 429566c4245d08352600d8aaca1c7b2127cf69d5..174dfee47f7a78bfadd0e5473b1096b7b0bee49a 100644 (file)
@@ -1809,7 +1809,7 @@ static int adt7462_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adt7462_id[] = {
-       { "adt7462", 0 },
+       { "adt7462" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adt7462_id);
index c4b3a4a18670c1a62edef572468c45466551c0f1..517248d2994e1c59ec05897f24347bf4d2b63f1c 100644 (file)
@@ -1304,7 +1304,7 @@ static void adt7470_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adt7470_id[] = {
-       { "adt7470", 0 },
+       { "adt7470" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adt7470_id);
index 974521e9b6b4056e86be81b97e39c497845dfb68..14e7737866c25b5fc81fde193338453131f2d34e 100644 (file)
@@ -213,7 +213,7 @@ static struct asb100_data *asb100_update_device(struct device *dev);
 static void asb100_init_client(struct i2c_client *client);
 
 static const struct i2c_device_id asb100_id[] = {
-       { "asb100", 0 },
+       { "asb100" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, asb100_id);
index d1de020abec6aa95749aed8ab01dbf33756f210f..1c7e9a98b757c3693c5374972a6f59137d7ac8a0 100644 (file)
@@ -278,7 +278,7 @@ static int atxp1_probe(struct i2c_client *client)
 };
 
 static const struct i2c_device_id atxp1_id[] = {
-       { "atxp1", 0 },
+       { "atxp1" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, atxp1_id);
index 4fc4df012fac70198343f63a86d36b524c8d58b9..ce397042d90b8682012304956ce7215fd33b3bb6 100644 (file)
@@ -233,7 +233,7 @@ static int ds620_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ds620_id[] = {
-       {"ds620", 0},
+       {"ds620"},
        {}
 };
 
index b59472bbe5bf44b7c2f167a1f60c9c3fddf57365..60eddc7b027089fb035bc838b43c2684d8d1e6ce 100644 (file)
@@ -620,7 +620,7 @@ emc2103_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id emc2103_ids[] = {
-       { "emc2103", 0, },
+       { "emc2103" },
        { /* LIST END */ }
 };
 MODULE_DEVICE_TABLE(i2c, emc2103_ids);
index 6ef733c0be1675460a5b6e52adcc40c1e7141fc1..4d39fbd837693901d91a86289bb63334fa6c4a73 100644 (file)
@@ -47,10 +47,10 @@ enum emc230x_product_id {
 };
 
 static const struct i2c_device_id emc2305_ids[] = {
-       { "emc2305", 0 },
-       { "emc2303", 0 },
-       { "emc2302", 0 },
-       { "emc2301", 0 },
+       { "emc2305" },
+       { "emc2303" },
+       { "emc2302" },
+       { "emc2301" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, emc2305_ids);
index 9a4f868bf1e64e58a4ad81679b53c11c277ba743..1100c6e5daa775cb790327ba0f6175cc83b6a168 100644 (file)
@@ -464,7 +464,7 @@ static int emc6w201_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id emc6w201_id[] = {
-       { "emc6w201", 0 },
+       { "emc6w201" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, emc6w201_id);
index b74a2665e73321c39854e6627f639e33739e31e3..a3a07662e4917521972551b799ccc06a5129c30e 100644 (file)
@@ -50,7 +50,7 @@
 static const unsigned short normal_i2c[] = { 0x73, I2C_CLIENT_END };
 
 static const struct i2c_device_id fts_id[] = {
-       { "ftsteutates", 0 },
+       { "ftsteutates" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, fts_id);
index b5edee00267bf501c4c6f83a77c28616a4289c47..39ae8f8264176123b05dfa70750fcf77a2426894 100644 (file)
@@ -197,7 +197,7 @@ static int g760a_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id g760a_id[] = {
-       { "g760a", 0 },
+       { "g760a" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, g760a_id);
index fad69ef56c75b8f4aadaa66148012528a5862637..af1228708e25b60302757b66fc4156d91098080f 100644 (file)
@@ -44,8 +44,8 @@
 #define DRVNAME "g762"
 
 static const struct i2c_device_id g762_id[] = {
-       { "g762", 0 },
-       { "g763", 0 },
+       { "g762" },
+       { "g763" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, g762_id);
index 03db6158b13ad4972f051798ba4e320b5b7fdc57..9c68bc0139503c0e72db5cf768c28839ef5ed0f8 100644 (file)
@@ -642,7 +642,7 @@ static int gl518_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id gl518_id[] = {
-       { "gl518sm", 0 },
+       { "gl518sm" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, gl518_id);
index 8bbc6a4f2928be4347b3a738516b98a22a3c7262..972f4f8caa2b7af7568cc2004b267724ba5e17f3 100644 (file)
@@ -885,7 +885,7 @@ static int gl520_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id gl520_id[] = {
-       { "gl520sm", 0 },
+       { "gl520sm" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, gl520_id);
index a9726b5370fb11815a49a1ca24e95907ec79ac83..85af8299150a52360070d9409e4bb2b8d55aee02 100644 (file)
@@ -233,7 +233,7 @@ static int hih6130_probe(struct i2c_client *client)
 
 /* Device ID table */
 static const struct i2c_device_id hih6130_id[] = {
-       { "hih6130", 0 },
+       { "hih6130" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, hih6130_id);
index 01ea9a3062bcf37cb755f6df57a9057e1ed4bcd2..24ed3fb9a43a39a4127d7917108382b000965ddc 100644 (file)
@@ -175,7 +175,7 @@ static const struct hwmon_chip_info hs3001_chip_info = {
 
 /* device ID table */
 static const struct i2c_device_id hs3001_ids[] = {
-       { "hs3001", 0 },
+       { "hs3001" },
        { },
 };
 
index d9b57a4b3e41fbd52d96ac1d57bb4a6377aa3cb0..bd7b3380d847af4439327f0753745fd832e3e22c 100644 (file)
@@ -576,7 +576,7 @@ static void ina209_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ina209_id[] = {
-       { "ina209", 0 },
+       { "ina209" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ina209_id);
index 69289293bc38ccb3c234eef1faec06fc5d4e7ed2..855626f1bc010d161be3412795d28292965a673a 100644 (file)
@@ -616,7 +616,7 @@ static int ina238_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ina238_id[] = {
-       { "ina238", 0 },
+       { "ina238" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ina238_id);
index 2c9530b6f19213ebf0ae2df1262a5160fbb650e8..f0053f87e3e6232c0ffdc71e02550ecd90784e41 100644 (file)
@@ -1031,7 +1031,7 @@ static const struct of_device_id ina3221_of_match_table[] = {
 MODULE_DEVICE_TABLE(of, ina3221_of_match_table);
 
 static const struct i2c_device_id ina3221_ids[] = {
-       { "ina3221", 0 },
+       { "ina3221" },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(i2c, ina3221_ids);
index a00168fe569d3bed90e81f4165900c99edb92acb..7092f8f025b840368028c0067d225ad0d6e0df98 100644 (file)
@@ -609,7 +609,7 @@ static const struct dev_pm_ops jc42_dev_pm_ops = {
 #endif /* CONFIG_PM */
 
 static const struct i2c_device_id jc42_id[] = {
-       { "jc42", 0 },
+       { "jc42" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, jc42_id);
index df69c380cde7ed06eb6e6d469313536799ef4422..64a335a64a2ebeb721b89db25b63147e348b5edc 100644 (file)
@@ -502,7 +502,7 @@ static int pem_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id pem_id[] = {
-       {"lineage_pem", 0},
+       {"lineage_pem"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, pem_id);
index 637d35c5ae23a1eda93cc2efa1d3e11985b5ce6e..581b01572e1bd567d58111bf4c6e7c79bcbc6046 100644 (file)
@@ -220,7 +220,7 @@ lm73_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lm73_ids[] = {
-       { "lm73", 0 },
+       { "lm73" },
        { /* LIST END */ }
 };
 MODULE_DEVICE_TABLE(i2c, lm73_ids);
index 8b986251917841448e0bfe2e931507be5ad627b3..80f7a6a3f9a29d4b712b21ff90dd869252e3ba23 100644 (file)
@@ -337,7 +337,7 @@ static int lm77_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lm77_id[] = {
-       { "lm77", 0 },
+       { "lm77" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, lm77_id);
index 2195a735d28e0ef68d4c65941dc0655cf5410afb..03964127a12a91cc31627dfa6785e716bc56517d 100644 (file)
@@ -975,7 +975,7 @@ static int lm87_probe(struct i2c_client *client)
  */
 
 static const struct i2c_device_id lm87_id[] = {
-       { "lm87", 0 },
+       { "lm87" },
        { "adm1024", 0 },
        { }
 };
index 75bca805720e7158713d1acfb8cf6d7f0a16e77a..be4853fad80fdb3e2e0c113e4cc99af94da666ba 100644 (file)
@@ -2624,8 +2624,8 @@ static int lm93_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lm93_id[] = {
-       { "lm93", 0 },
-       { "lm94", 0 },
+       { "lm93" },
+       { "lm94" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, lm93_id);
index 475551f5024b4710619b455501d0719a8c129931..4ad69a2de105bf6233339fe5f070a7adcc8572ae 100644 (file)
@@ -457,7 +457,7 @@ static int lm95241_probe(struct i2c_client *client)
 
 /* Driver data (common to all clients) */
 static const struct i2c_device_id lm95241_id[] = {
-       { "lm95231", 0 },
+       { "lm95231" },
        { "lm95241", 0 },
        { }
 };
index 17ff54bd40151b0aee8c40846b1e0560c3ce1621..d293b4f15dc1265f535d7e4dadd207ad51995b98 100644 (file)
@@ -578,8 +578,8 @@ static int lm95245_probe(struct i2c_client *client)
 
 /* Driver data (common to all clients) */
 static const struct i2c_device_id lm95245_id[] = {
-       { "lm95235", 0 },
-       { "lm95245", 0 },
+       { "lm95235" },
+       { "lm95245" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, lm95245_id);
index 45b87a863cae45222523f0569585cf3617518c70..3e0e0e0687bdd5c0e82de2402145441b8d76dd19 100644 (file)
@@ -508,7 +508,7 @@ static int ltc2945_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ltc2945_id[] = {
-       {"ltc2945", 0},
+       {"ltc2945"},
        { }
 };
 
index 33f574bf2ce76ac8347f3cdf01554d5b2e3b162a..176d710706dd9bababe4a96c8670f4b15fd44f67 100644 (file)
@@ -27,7 +27,7 @@ static int ltc2947_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id ltc2947_id[] = {
-       {"ltc2947", 0},
+       {"ltc2947"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, ltc2947_id);
index 1ad362c0fd2ccc9512e918d6322019330aebc5ad..f1c1933c52cf4f693994e62fd0391e91b825fd1f 100644 (file)
@@ -259,7 +259,7 @@ static int ltc2990_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id ltc2990_i2c_id[] = {
-       { "ltc2990", 0 },
+       { "ltc2990" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, ltc2990_i2c_id);
index 80a6e391f266cd2d0f01906b121ea744a0e2eed3..06750bb93c236795f6db825c82607a7d9abd6f1c 100644 (file)
@@ -414,7 +414,7 @@ static const struct of_device_id ltc2991_of_match[] = {
 MODULE_DEVICE_TABLE(of, ltc2991_of_match);
 
 static const struct i2c_device_id ltc2991_i2c_id[] = {
-       { "ltc2991", 0 },
+       { "ltc2991" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, ltc2991_i2c_id);
index 001799bc28ed6f24430541e394599eddb62ffa60..229aed15d5caa7d2bf4ee2fa39628d4442b70c38 100644 (file)
@@ -922,7 +922,7 @@ static const struct of_device_id ltc2992_of_match[] = {
 MODULE_DEVICE_TABLE(of, ltc2992_of_match);
 
 static const struct i2c_device_id ltc2992_i2c_id[] = {
-       {"ltc2992", 0},
+       {"ltc2992"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, ltc2992_i2c_id);
index f42ac3c9475ea1275718fe9ba2db1302e2182416..fa66eda78efe4f90b7c6acade3b5cc7ca5597211 100644 (file)
@@ -188,7 +188,7 @@ static int ltc4151_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ltc4151_id[] = {
-       { "ltc4151", 0 },
+       { "ltc4151" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ltc4151_id);
index 66fd28f713ab19b9c9885c3aaba279a098aedddd..cce452711cec4de93aea032e5caa40df0309824d 100644 (file)
@@ -245,7 +245,7 @@ static int ltc4215_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ltc4215_id[] = {
-       { "ltc4215", 0 },
+       { "ltc4215" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ltc4215_id);
index 9098ef521739e00a6ffe5781ad07df81edbf3899..f7eb007fd766bf3562cb2e08fe4a588dc5f01c6e 100644 (file)
@@ -200,7 +200,7 @@ static int ltc4222_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ltc4222_id[] = {
-       {"ltc4222", 0},
+       {"ltc4222"},
        { }
 };
 
index b90184a3e0ec3bfbd31827582a65610c0d51f85b..14593bc81e85ecad1f13453f494cfa8478992ac6 100644 (file)
@@ -469,7 +469,7 @@ static int ltc4245_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ltc4245_id[] = {
-       { "ltc4245", 0 },
+       { "ltc4245" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ltc4245_id);
index 52f7a809b27b01d74197bf3323b83796cc9db88f..9750dc9aa336d49dc58b78edfff6421eea06d2cd 100644 (file)
@@ -163,7 +163,7 @@ static int ltc4260_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ltc4260_id[] = {
-       {"ltc4260", 0},
+       {"ltc4260"},
        { }
 };
 
index 509e68176c7af8b9db99886616bdf6987124221e..2cd218a6a3be7b87b2f5185c2de0a4952a276ddf 100644 (file)
@@ -222,7 +222,7 @@ static int ltc4261_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ltc4261_id[] = {
-       {"ltc4261", 0},
+       {"ltc4261"},
        {}
 };
 
index da2289e3560aa0066840d193935600fcf11266d0..a9aab8862f5ec3167684a810ea981c9e8fa6cc8a 100644 (file)
@@ -329,7 +329,7 @@ static int max127_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max127_id[] = {
-       { "max127", 0 },
+       { "max127" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max127_id);
index 500dc926a7a7f5cac7c2b516a9759205bf877f90..a89a519cf5d9bf9403731e5cdc186c70a93318db 100644 (file)
@@ -285,7 +285,7 @@ static int max1619_probe(struct i2c_client *new_client)
 }
 
 static const struct i2c_device_id max1619_id[] = {
-       { "max1619", 0 },
+       { "max1619" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max1619_id);
index 7d237db6e57c89046b3e83e66c9a49a05c9d2cd6..2f4b419b6c9e38cda5630ba9d052c8d36252e6f4 100644 (file)
@@ -345,7 +345,7 @@ max31730_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max31730_ids[] = {
-       { "max31730", 0, },
+       { "max31730" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max31730_ids);
index 7aa1aa63bf1b8d8bac8af21bcd20e9c3f5f8dd81..f5691332700432be2ddeeaae8c1dae718198d1f8 100644 (file)
@@ -543,7 +543,7 @@ static int max31790_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max31790_id[] = {
-       { "max31790", 0 },
+       { "max31790" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max31790_id);
index 5d12fb9c97862256a129ef9f8358474893b2330b..13201fb755c98aec8748acba18f36c081e89ebf0 100644 (file)
@@ -493,7 +493,7 @@ static int max6620_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max6620_id[] = {
-       { "max6620", 0 },
+       { "max6620" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max6620_id);
index aa7f21ab2395f3d751c76ba06d7560aead69af7f..5dd0349e8bd0997ddf38c3b150035c1bf7805996 100644 (file)
@@ -610,7 +610,7 @@ static int max6639_resume(struct device *dev)
 }
 
 static const struct i2c_device_id max6639_id[] = {
-       {"max6639", 0},
+       {"max6639"},
        { }
 };
 
index 8b2e4d6101a20a1bb1618bbf8c6cc69b7591e5c5..9302ab2339103cae5ba38338e6ee0495c815f194 100644 (file)
@@ -291,7 +291,7 @@ static int max6642_probe(struct i2c_client *client)
  */
 
 static const struct i2c_device_id max6642_id[] = {
-       { "max6642", 0 },
+       { "max6642" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max6642_id);
index 0c8fd3fce83ef0822d7952797b97fddb17cc9365..84458e4533d860031c3b38c213951304942697f0 100644 (file)
@@ -235,7 +235,7 @@ static int mc34vr500_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id mc34vr500_id[] = {
-       { "mc34vr500", 0 },
+       { "mc34vr500" },
        { },
 };
 MODULE_DEVICE_TABLE(i2c, mc34vr500_id);
index a0e664d5ebfea4f409a0525148419c647dd4ac9d..97e8c642440313f90cc41ae21918461e8d4350a8 100644 (file)
@@ -1212,7 +1212,7 @@ static const unsigned short nct7802_address_list[] = {
 };
 
 static const struct i2c_device_id nct7802_idtable[] = {
-       { "nct7802", 0 },
+       { "nct7802" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nct7802_idtable);
index 8f867d4570e181979151401f6b12b1eae836be0d..f1e6eda949ba237345f5e560d20ec118a8ff2125 100644 (file)
@@ -1161,7 +1161,7 @@ static int nct7904_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id nct7904_id[] = {
-       {"nct7904", 0},
+       {"nct7904"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, nct7904_id);
index 66c76b28c9e0aa57d62d1122b7333058ead60146..167d2fe4d5432cb34c548fe20e28071ca20f3bd0 100644 (file)
@@ -285,7 +285,7 @@ static int pcf8591_read_channel(struct device *dev, int channel)
 }
 
 static const struct i2c_device_id pcf8591_id[] = {
-       { "pcf8591", 0 },
+       { "pcf8591" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, pcf8591_id);
index ed0a7b9fae4bf269fb37ef1578e9d6afe19b2eba..2c4d94cc872943d5088563d03ce7022fde6a118d 100644 (file)
@@ -490,7 +490,7 @@ static const struct of_device_id adm1266_of_match[] = {
 MODULE_DEVICE_TABLE(of, adm1266_of_match);
 
 static const struct i2c_device_id adm1266_id[] = {
-       { "adm1266", 0 },
+       { "adm1266" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adm1266_id);
index ea08554662d57e1ab1bfea4de86dc69d4caa9fd4..20f22730fc01898ef868e45851b758fa5cf8f95e 100644 (file)
@@ -29,7 +29,7 @@ static int adp1050_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adp1050_id[] = {
-       {"adp1050", 0},
+       {"adp1050"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, adp1050_id);
index dfeae68b5e52d37eeba43708935be815a1a135bf..3e3cc9a0f116e771b559e7d03a0ff702b368b5d5 100644 (file)
@@ -197,7 +197,7 @@ static int ipsps_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ipsps_id[] = {
-       { "ipsps1", 0 },
+       { "ipsps1" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, ipsps_id);
index e3ee5c1bd9675ccd14fd9d73023d371d864b2ce8..503be59c6c7f195726c79dd7b869c0065a782c1e 100644 (file)
@@ -126,7 +126,7 @@ static int ir35221_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ir35221_id[] = {
-       {"ir35221", 0},
+       {"ir35221"},
        {}
 };
 
index a263afeb8ac1e147cab240584b7270c7ab5abe81..5148c9187c9e887785ead6c23f40ffd98fa60087 100644 (file)
@@ -51,7 +51,7 @@ static int ir36021_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ir36021_id[] = {
-       { "ir36021", 0 },
+       { "ir36021" },
        {},
 };
 MODULE_DEVICE_TABLE(i2c, ir36021_id);
index 69e18cb468f67ea2b0fea0e41a0c0e190050cf34..d4bcc9c39774ec5bd0ae8fc0e85e102302c51d85 100644 (file)
@@ -53,10 +53,10 @@ static int ir38064_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ir38064_id[] = {
-       {"ir38060", 0},
-       {"ir38064", 0},
-       {"ir38164", 0},
-       {"ir38263", 0},
+       {"ir38060"},
+       {"ir38064"},
+       {"ir38164"},
+       {"ir38263"},
        {}
 };
 
index 146d32a35a7c06809db5af8c564d3aee62678e69..f0bdf55c95bf4d9f5a4cd12b1e85a1fe8119eb95 100644 (file)
@@ -44,7 +44,7 @@ static int irps5401_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id irps5401_id[] = {
-       {"irps5401", 0},
+       {"irps5401"},
        {}
 };
 
index 28afc5f15ae8cc51a33e38a2452f606a0dec945b..aebd97af274172bf320b3e350c19a6cf997ed017 100644 (file)
@@ -168,7 +168,7 @@ static int lt7182s_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lt7182s_id[] = {
-       { "lt7182s", 0 },
+       { "lt7182s" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, lt7182s_id);
index f2023b17aa8da677ef5b225665f59b1990cf9588..f58a8cedb0d7e3f25f747fbac818288a6ca0ccbe 100644 (file)
@@ -143,7 +143,7 @@ static int ltc3815_write_word_data(struct i2c_client *client, int page,
 }
 
 static const struct i2c_device_id ltc3815_id[] = {
-       {"ltc3815", 0},
+       {"ltc3815"},
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ltc3815_id);
index 2cfaa62aedd610a9a43a711deeac70a7de8426be..c79cdf10bbecb09c3c1a0d01dd0eb63c77dc256a 100644 (file)
@@ -23,7 +23,7 @@
 #include "pmbus.h"
 
 static const struct i2c_device_id max15301_id[] = {
-       {"bmr461", 0},
+       {"bmr461"},
        {"max15301", 0},
        {}
 };
index a573a0ab9e48522026e3b56447f18bbd1d8bc04f..98e2b5dd58414d0d94bb235cde84fa9df3321861 100644 (file)
@@ -91,7 +91,7 @@ static int max16064_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max16064_id[] = {
-       {"max16064", 0},
+       {"max16064"},
        {}
 };
 
index 6ebd71cd081bf98fe0b1128600f6952e768dc4d4..8f23c1eb559e89fb26866016bf0a92f8a0223983 100644 (file)
@@ -32,7 +32,7 @@ static int max20751_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max20751_id[] = {
-       {"max20751", 0},
+       {"max20751"},
        {}
 };
 
index 5d13bbfc8f476d055e13a549f0809a69a604e657..09218dba89658e0fc590239539f0f6da6f56329d 100644 (file)
@@ -518,9 +518,9 @@ static int max31785_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max31785_id[] = {
-       { "max31785", 0 },
-       { "max31785a", 0 },
-       { "max31785b", 0 },
+       { "max31785" },
+       { "max31785a" },
+       { "max31785b" },
        { },
 };
 
index ae8573fdf5bac723e706a3255ff2fa328feec209..5d5b6aeefa804d2d1705ac70eec20756d8cfba1e 100644 (file)
@@ -171,7 +171,7 @@ static int max8688_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max8688_id[] = {
-       {"max8688", 0},
+       {"max8688"},
        { }
 };
 
index 50662ed8e3d58309a8ef428a19b766cb05a23fb9..3b45f126b611ce9663dd927f779f920ab4da9375 100644 (file)
@@ -378,7 +378,7 @@ static int mp2888_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id mp2888_id[] = {
-       {"mp2888", 0},
+       {"mp2888"},
        {}
 };
 
index 1dfbab25a0645e0bb67cbfce31338e7c59ffa7d0..5d1d5eac89daa931bcd992de0cb05fce87abba20 100644 (file)
@@ -158,7 +158,7 @@ static const struct of_device_id mp5990_of_match[] = {
 };
 
 static const struct i2c_device_id mp5990_id[] = {
-       {"mp5990", 0},
+       {"mp5990"},
        { }
 };
 MODULE_DEVICE_TABLE(i2c, mp5990_id);
index 4e2549cc81203f55726d3739db6dfcfe0fe47fd1..7f87e117b49debd239de08e37af0fec422ca650a 100644 (file)
@@ -62,7 +62,7 @@ static int mpq8785_probe(struct i2c_client *client)
 };
 
 static const struct i2c_device_id mpq8785_id[] = {
-       { "mpq8785", 0 },
+       { "mpq8785" },
        { },
 };
 MODULE_DEVICE_TABLE(i2c, mpq8785_id);
index c95433790b11107e1afbca3b2d6ce959e7611f44..2c6c9ec2a65250bf05dba3e0dc35155c626c1f8e 100644 (file)
@@ -141,7 +141,7 @@ static int pli1209bc_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id pli1209bc_id[] = {
-       {"pli1209bc", 0},
+       {"pli1209bc"},
        {}
 };
 
index 2a16504c85b78ae4802d32ccfda10f2d624b3e25..23f15b608dcf1282a5642a2504f89e514ec6915a 100644 (file)
@@ -48,7 +48,7 @@ static int pm6764tr_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id pm6764tr_id[] = {
-       {"pm6764tr", 0},
+       {"pm6764tr"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, pm6764tr_id);
index e2790a682dc80cedd9be3e2b99738af47e93aa18..5ac476d3cdd2a9c8715895be5c6810c72e155213 100644 (file)
@@ -127,9 +127,9 @@ static int pxe1610_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id pxe1610_id[] = {
-       {"pxe1610", 0},
-       {"pxe1110", 0},
-       {"pxm1310", 0},
+       {"pxe1610"},
+       {"pxe1110"},
+       {"pxm1310"},
        {}
 };
 
index be9076dcc2dbf224427c1f4909c7372ce817f31a..34d0f06f48452b2ab65a7b5302b00112458c4c65 100644 (file)
@@ -18,8 +18,8 @@
 #define STPDDC60_MFR_UV_LIMIT_OFFSET   0xe6
 
 static const struct i2c_device_id stpddc60_id[] = {
-       {"stpddc60", 0},
-       {"bmr481", 0},
+       {"stpddc60"},
+       {"bmr481"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, stpddc60_id);
index c31889a036f01eefac6621796efb8e4bbcbecf13..044d5fbdf9eb93839b2fdb0b33ca92f380f01a85 100644 (file)
@@ -195,7 +195,7 @@ static int tda38640_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tda38640_id[] = {
-       {"tda38640", 0},
+       {"tda38640"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, tda38640_id);
index ea0074a6b9fc8ded8f8a0ecc341176f9cba2d792..d99b9850ea36c1ec1923401745bdb78a3aef09bd 100644 (file)
@@ -31,7 +31,7 @@ static int tps40422_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tps40422_id[] = {
-       {"tps40422", 0},
+       {"tps40422"},
        {}
 };
 
index 69bbdb6c680bdff947ee32ada4b21de86baecb35..520ca37269f77e9afa62fd54472fe6158f5e791f 100644 (file)
@@ -42,7 +42,7 @@ static int tps546d24_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tps546d24_id[] = {
-       {"tps546d24", 0},
+       {"tps546d24"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, tps546d24_id);
index 03a5b937c2217b4b43af91e4eb062d75f3487843..dd107e83f61254ad376b51b7bc9ee2d7504e8c09 100644 (file)
@@ -110,7 +110,7 @@ static const struct of_device_id xdp710_of_match[] = {
 };
 
 static const struct i2c_device_id xdp710_id[] = {
-       {"xdp710", 0},
+       {"xdp710"},
        { }
 };
 MODULE_DEVICE_TABLE(i2c, xdp710_id);
index 37d08dd427d570009578bceba77405b1e20c4cd8..facb1201aa430100e878b69ff13a6a06cd8ccfa0 100644 (file)
@@ -164,9 +164,9 @@ static int xdpe122_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id xdpe122_id[] = {
-       {"xdpe11280", 0},
-       {"xdpe12254", 0},
-       {"xdpe12284", 0},
+       {"xdpe11280"},
+       {"xdpe12254"},
+       {"xdpe12284"},
        {}
 };
 
index 235e6b41ae4c7eae6130d7422dc285f2cab0b4a2..7f3b31d4f033f5dae3f7bdf088a5281601f6533c 100644 (file)
@@ -44,8 +44,8 @@ static int xdpe152_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id xdpe152_id[] = {
-       {"xdpe152c4", 0},
-       {"xdpe15284", 0},
+       {"xdpe152c4"},
+       {"xdpe15284"},
        {}
 };
 
index 60361e39c474540ef2a1e832b1ed7bce55d889f2..b0d58a26d499d0e541f6ee78daa4a3922742a9c2 100644 (file)
@@ -630,7 +630,7 @@ static const struct acpi_device_id __maybe_unused pt5161l_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, pt5161l_acpi_match);
 
 static const struct i2c_device_id pt5161l_id[] = {
-       { "pt5161l", 0 },
+       { "pt5161l" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, pt5161l_id);
index 4318f5121145e0e3f7e15d34c10f878a6a13562a..d48d8e5460ff6e3cc4538bdd88ddb648da53078b 100644 (file)
@@ -328,7 +328,7 @@ static int sbrmi_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id sbrmi_id[] = {
-       {"sbrmi", 0},
+       {"sbrmi"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, sbrmi_id);
index a4181acb1aa6b596b17217038ddecc42ff47c56c..3c839f56c460384b19b198d1aa6bf409d208f965 100644 (file)
@@ -218,7 +218,7 @@ static int sbtsi_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id sbtsi_id[] = {
-       {"sbtsi", 0},
+       {"sbtsi"},
        {}
 };
 MODULE_DEVICE_TABLE(i2c, sbtsi_id);
index 55c1794752085fd537cf5bab5715e7b5acb114cc..ad1b827ea78219bf6d56fa446799c7612a171a4e 100644 (file)
@@ -278,7 +278,7 @@ static int sht21_probe(struct i2c_client *client)
 
 /* Device ID table */
 static const struct i2c_device_id sht21_id[] = {
-       { "sht21", 0 },
+       { "sht21" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, sht21_id);
index 4883755d4b1e5c40c8de8c9bcd21dd86b1251a09..b8916d2735b5a57ed5cb3d1bb932d17f871cc752 100644 (file)
@@ -276,7 +276,7 @@ static int sht4x_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id sht4x_id[] = {
-       { "sht4x", 0 },
+       { "sht4x" },
        { },
 };
 MODULE_DEVICE_TABLE(i2c, sht4x_id);
index d20800a1f02bc8a4573a933d31e83dd5a9f1aa39..21103af4e1395a0d782d1069d59736c161cdbbca 100644 (file)
@@ -618,7 +618,7 @@ static int smsc47m192_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id smsc47m192_id[] = {
-       { "smsc47m192", 0 },
+       { "smsc47m192" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, smsc47m192_id);
index 847c99376930742143261fdbed44b9eeddacf228..427a65dd6f19994c672221f606091e94f9a59c00 100644 (file)
@@ -72,7 +72,7 @@ static const int stts751_intervals[] = {
 };
 
 static const struct i2c_device_id stts751_id[] = {
-       { "stts751", 0 },
+       { "stts751" },
        { }
 };
 
index 42a9658f1bc2b79bdae577ea46d466ebbc85a17c..39fe5836f237f2ce61c3f67ba83c3375dd688ace 100644 (file)
@@ -550,8 +550,8 @@ static int tc654_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tc654_id[] = {
-       {"tc654", 0},
-       {"tc655", 0},
+       {"tc654"},
+       {"tc655"},
        {}
 };
 
index 03950670bd782272e8157f809f399e3a9242e6c2..9984373a25fb7ec0761f6c8a02b29a08bae75234 100644 (file)
@@ -151,7 +151,7 @@ static int tc74_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tc74_id[] = {
-       { "tc74", 0 },
+       { "tc74" },
        {}
 };
 MODULE_DEVICE_TABLE(i2c, tc74_id);
index 2506c78590afe3729d0245617ce34aca1cf214d2..8af44a33055f3273736af4d4b20ed026e0d2388b 100644 (file)
@@ -286,7 +286,7 @@ static int tmp102_resume(struct device *dev)
 static DEFINE_SIMPLE_DEV_PM_OPS(tmp102_dev_pm_ops, tmp102_suspend, tmp102_resume);
 
 static const struct i2c_device_id tmp102_id[] = {
-       { "tmp102", 0 },
+       { "tmp102" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tmp102_id);
index a84c29a3a765a78887e10ecaab9088355a6d0679..f271a03e05aeaca86286f8aacaedb699ecbb600a 100644 (file)
@@ -197,7 +197,7 @@ static int tmp103_resume(struct device *dev)
 static DEFINE_SIMPLE_DEV_PM_OPS(tmp103_dev_pm_ops, tmp103_suspend, tmp103_resume);
 
 static const struct i2c_device_id tmp103_id[] = {
-       { "tmp103", 0 },
+       { "tmp103" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tmp103_id);
index d7a09ab2bc11224b027eee0a33c032e23bd8657f..a82bbc959eb1537678012601e73f81a2427a09bb 100644 (file)
@@ -413,7 +413,7 @@ static int tmp108_resume(struct device *dev)
 static DEFINE_SIMPLE_DEV_PM_OPS(tmp108_dev_pm_ops, tmp108_suspend, tmp108_resume);
 
 static const struct i2c_device_id tmp108_i2c_ids[] = {
-       { "tmp108", 0 },
+       { "tmp108" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tmp108_i2c_ids);
index 9681eaa06c8e084522f108f8cc760a8614272689..ace854b370a0542c2df06b6970d2ac0541625a2c 100644 (file)
@@ -328,7 +328,7 @@ static void w83791d_print_debug(struct w83791d_data *data, struct device *dev);
 static void w83791d_init_client(struct i2c_client *client);
 
 static const struct i2c_device_id w83791d_id[] = {
-       { "w83791d", 0 },
+       { "w83791d" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, w83791d_id);
index 69ce379a9e1311c33752d94c3ea4f9a62bf71498..b0b5f60eea53bc7548e997fa96a0fb6cafa478db 100644 (file)
@@ -296,7 +296,7 @@ static void w83792d_print_debug(struct w83792d_data *data, struct device *dev);
 static void w83792d_init_client(struct i2c_client *client);
 
 static const struct i2c_device_id w83792d_id[] = {
-       { "w83792d", 0 },
+       { "w83792d" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, w83792d_id);
index 96bab94ba8996bf857fcc4dbcd406c600b079e31..0acf6bd0227fac79a2201dc032354390a2b76258 100644 (file)
@@ -291,7 +291,7 @@ static void w83793_update_nonvolatile(struct device *dev);
 static struct w83793_data *w83793_update_device(struct device *dev);
 
 static const struct i2c_device_id w83793_id[] = {
-       { "w83793", 0 },
+       { "w83793" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, w83793_id);
index 9c11ed69c055ba22d130dc0ca357d4a8d88a8fb1..df77b53a1b2f9cfe184ff1a4a2d6104cdd6a6493 100644 (file)
@@ -74,7 +74,7 @@ static struct w83l785ts_data *w83l785ts_update_device(struct device *dev);
  */
 
 static const struct i2c_device_id w83l785ts_id[] = {
-       { "w83l785ts", 0 },
+       { "w83l785ts" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, w83l785ts_id);
index 75874cf7851cb34365a90ea5b11d7733dc2e9403..9b81bd406e059643ff772c2f7f2e09205c8ddf29 100644 (file)
@@ -741,7 +741,7 @@ w83l786ng_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id w83l786ng_id[] = {
-       { "w83l786ng", 0 },
+       { "w83l786ng" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, w83l786ng_id);