Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0

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>

authored by

Uwe Kleine-König and committed by
Guenter Roeck
d8a66f36 801fec8d

+119 -119
+1 -1
Documentation/hwmon/pmbus.rst
··· 152 152 } 153 153 154 154 static const struct i2c_device_id ds1200_id[] = { 155 - {"ds1200", 0}, 155 + {"ds1200"}, 156 156 {} 157 157 }; 158 158
+1 -1
drivers/hwmon/ad7414.c
··· 205 205 } 206 206 207 207 static const struct i2c_device_id ad7414_id[] = { 208 - { "ad7414", 0 }, 208 + { "ad7414" }, 209 209 {} 210 210 }; 211 211 MODULE_DEVICE_TABLE(i2c, ad7414_id);
+1 -1
drivers/hwmon/adc128d818.c
··· 504 504 } 505 505 506 506 static const struct i2c_device_id adc128_id[] = { 507 - { "adc128d818", 0 }, 507 + { "adc128d818" }, 508 508 { } 509 509 }; 510 510 MODULE_DEVICE_TABLE(i2c, adc128_id);
+1 -1
drivers/hwmon/adm1026.c
··· 1849 1849 } 1850 1850 1851 1851 static const struct i2c_device_id adm1026_id[] = { 1852 - { "adm1026", 0 }, 1852 + { "adm1026" }, 1853 1853 { } 1854 1854 }; 1855 1855 MODULE_DEVICE_TABLE(i2c, adm1026_id);
+1 -1
drivers/hwmon/adm1029.c
··· 379 379 } 380 380 381 381 static const struct i2c_device_id adm1029_id[] = { 382 - { "adm1029", 0 }, 382 + { "adm1029" }, 383 383 { } 384 384 }; 385 385 MODULE_DEVICE_TABLE(i2c, adm1029_id);
+1 -1
drivers/hwmon/adm1177.c
··· 238 238 } 239 239 240 240 static const struct i2c_device_id adm1177_id[] = { 241 - {"adm1177", 0}, 241 + {"adm1177"}, 242 242 {} 243 243 }; 244 244 MODULE_DEVICE_TABLE(i2c, adm1177_id);
+2 -2
drivers/hwmon/adt7410.c
··· 88 88 } 89 89 90 90 static const struct i2c_device_id adt7410_ids[] = { 91 - { "adt7410", 0 }, 92 - { "adt7420", 0 }, 91 + { "adt7410" }, 92 + { "adt7420" }, 93 93 {} 94 94 }; 95 95 MODULE_DEVICE_TABLE(i2c, adt7410_ids);
+1 -1
drivers/hwmon/adt7411.c
··· 697 697 } 698 698 699 699 static const struct i2c_device_id adt7411_id[] = { 700 - { "adt7411", 0 }, 700 + { "adt7411" }, 701 701 { } 702 702 }; 703 703 MODULE_DEVICE_TABLE(i2c, adt7411_id);
+1 -1
drivers/hwmon/adt7462.c
··· 1809 1809 } 1810 1810 1811 1811 static const struct i2c_device_id adt7462_id[] = { 1812 - { "adt7462", 0 }, 1812 + { "adt7462" }, 1813 1813 { } 1814 1814 }; 1815 1815 MODULE_DEVICE_TABLE(i2c, adt7462_id);
+1 -1
drivers/hwmon/adt7470.c
··· 1304 1304 } 1305 1305 1306 1306 static const struct i2c_device_id adt7470_id[] = { 1307 - { "adt7470", 0 }, 1307 + { "adt7470" }, 1308 1308 { } 1309 1309 }; 1310 1310 MODULE_DEVICE_TABLE(i2c, adt7470_id);
+1 -1
drivers/hwmon/asb100.c
··· 213 213 static void asb100_init_client(struct i2c_client *client); 214 214 215 215 static const struct i2c_device_id asb100_id[] = { 216 - { "asb100", 0 }, 216 + { "asb100" }, 217 217 { } 218 218 }; 219 219 MODULE_DEVICE_TABLE(i2c, asb100_id);
+1 -1
drivers/hwmon/atxp1.c
··· 278 278 }; 279 279 280 280 static const struct i2c_device_id atxp1_id[] = { 281 - { "atxp1", 0 }, 281 + { "atxp1" }, 282 282 { } 283 283 }; 284 284 MODULE_DEVICE_TABLE(i2c, atxp1_id);
+1 -1
drivers/hwmon/ds620.c
··· 233 233 } 234 234 235 235 static const struct i2c_device_id ds620_id[] = { 236 - {"ds620", 0}, 236 + {"ds620"}, 237 237 {} 238 238 }; 239 239
+1 -1
drivers/hwmon/emc2103.c
··· 620 620 } 621 621 622 622 static const struct i2c_device_id emc2103_ids[] = { 623 - { "emc2103", 0, }, 623 + { "emc2103" }, 624 624 { /* LIST END */ } 625 625 }; 626 626 MODULE_DEVICE_TABLE(i2c, emc2103_ids);
+4 -4
drivers/hwmon/emc2305.c
··· 47 47 }; 48 48 49 49 static const struct i2c_device_id emc2305_ids[] = { 50 - { "emc2305", 0 }, 51 - { "emc2303", 0 }, 52 - { "emc2302", 0 }, 53 - { "emc2301", 0 }, 50 + { "emc2305" }, 51 + { "emc2303" }, 52 + { "emc2302" }, 53 + { "emc2301" }, 54 54 { } 55 55 }; 56 56 MODULE_DEVICE_TABLE(i2c, emc2305_ids);
+1 -1
drivers/hwmon/emc6w201.c
··· 464 464 } 465 465 466 466 static const struct i2c_device_id emc6w201_id[] = { 467 - { "emc6w201", 0 }, 467 + { "emc6w201" }, 468 468 { } 469 469 }; 470 470 MODULE_DEVICE_TABLE(i2c, emc6w201_id);
+1 -1
drivers/hwmon/ftsteutates.c
··· 50 50 static const unsigned short normal_i2c[] = { 0x73, I2C_CLIENT_END }; 51 51 52 52 static const struct i2c_device_id fts_id[] = { 53 - { "ftsteutates", 0 }, 53 + { "ftsteutates" }, 54 54 { } 55 55 }; 56 56 MODULE_DEVICE_TABLE(i2c, fts_id);
+1 -1
drivers/hwmon/g760a.c
··· 197 197 } 198 198 199 199 static const struct i2c_device_id g760a_id[] = { 200 - { "g760a", 0 }, 200 + { "g760a" }, 201 201 { } 202 202 }; 203 203 MODULE_DEVICE_TABLE(i2c, g760a_id);
+2 -2
drivers/hwmon/g762.c
··· 44 44 #define DRVNAME "g762" 45 45 46 46 static const struct i2c_device_id g762_id[] = { 47 - { "g762", 0 }, 48 - { "g763", 0 }, 47 + { "g762" }, 48 + { "g763" }, 49 49 { } 50 50 }; 51 51 MODULE_DEVICE_TABLE(i2c, g762_id);
+1 -1
drivers/hwmon/gl518sm.c
··· 642 642 } 643 643 644 644 static const struct i2c_device_id gl518_id[] = { 645 - { "gl518sm", 0 }, 645 + { "gl518sm" }, 646 646 { } 647 647 }; 648 648 MODULE_DEVICE_TABLE(i2c, gl518_id);
+1 -1
drivers/hwmon/gl520sm.c
··· 885 885 } 886 886 887 887 static const struct i2c_device_id gl520_id[] = { 888 - { "gl520sm", 0 }, 888 + { "gl520sm" }, 889 889 { } 890 890 }; 891 891 MODULE_DEVICE_TABLE(i2c, gl520_id);
+1 -1
drivers/hwmon/hih6130.c
··· 233 233 234 234 /* Device ID table */ 235 235 static const struct i2c_device_id hih6130_id[] = { 236 - { "hih6130", 0 }, 236 + { "hih6130" }, 237 237 { } 238 238 }; 239 239 MODULE_DEVICE_TABLE(i2c, hih6130_id);
+1 -1
drivers/hwmon/hs3001.c
··· 175 175 176 176 /* device ID table */ 177 177 static const struct i2c_device_id hs3001_ids[] = { 178 - { "hs3001", 0 }, 178 + { "hs3001" }, 179 179 { }, 180 180 }; 181 181
+1 -1
drivers/hwmon/ina209.c
··· 576 576 } 577 577 578 578 static const struct i2c_device_id ina209_id[] = { 579 - { "ina209", 0 }, 579 + { "ina209" }, 580 580 { } 581 581 }; 582 582 MODULE_DEVICE_TABLE(i2c, ina209_id);
+1 -1
drivers/hwmon/ina238.c
··· 616 616 } 617 617 618 618 static const struct i2c_device_id ina238_id[] = { 619 - { "ina238", 0 }, 619 + { "ina238" }, 620 620 { } 621 621 }; 622 622 MODULE_DEVICE_TABLE(i2c, ina238_id);
+1 -1
drivers/hwmon/ina3221.c
··· 1031 1031 MODULE_DEVICE_TABLE(of, ina3221_of_match_table); 1032 1032 1033 1033 static const struct i2c_device_id ina3221_ids[] = { 1034 - { "ina3221", 0 }, 1034 + { "ina3221" }, 1035 1035 { /* sentinel */ } 1036 1036 }; 1037 1037 MODULE_DEVICE_TABLE(i2c, ina3221_ids);
+1 -1
drivers/hwmon/jc42.c
··· 609 609 #endif /* CONFIG_PM */ 610 610 611 611 static const struct i2c_device_id jc42_id[] = { 612 - { "jc42", 0 }, 612 + { "jc42" }, 613 613 { } 614 614 }; 615 615 MODULE_DEVICE_TABLE(i2c, jc42_id);
+1 -1
drivers/hwmon/lineage-pem.c
··· 502 502 } 503 503 504 504 static const struct i2c_device_id pem_id[] = { 505 - {"lineage_pem", 0}, 505 + {"lineage_pem"}, 506 506 {} 507 507 }; 508 508 MODULE_DEVICE_TABLE(i2c, pem_id);
+1 -1
drivers/hwmon/lm73.c
··· 220 220 } 221 221 222 222 static const struct i2c_device_id lm73_ids[] = { 223 - { "lm73", 0 }, 223 + { "lm73" }, 224 224 { /* LIST END */ } 225 225 }; 226 226 MODULE_DEVICE_TABLE(i2c, lm73_ids);
+1 -1
drivers/hwmon/lm77.c
··· 337 337 } 338 338 339 339 static const struct i2c_device_id lm77_id[] = { 340 - { "lm77", 0 }, 340 + { "lm77" }, 341 341 { } 342 342 }; 343 343 MODULE_DEVICE_TABLE(i2c, lm77_id);
+1 -1
drivers/hwmon/lm87.c
··· 975 975 */ 976 976 977 977 static const struct i2c_device_id lm87_id[] = { 978 - { "lm87", 0 }, 978 + { "lm87" }, 979 979 { "adm1024", 0 }, 980 980 { } 981 981 };
+2 -2
drivers/hwmon/lm93.c
··· 2624 2624 } 2625 2625 2626 2626 static const struct i2c_device_id lm93_id[] = { 2627 - { "lm93", 0 }, 2628 - { "lm94", 0 }, 2627 + { "lm93" }, 2628 + { "lm94" }, 2629 2629 { } 2630 2630 }; 2631 2631 MODULE_DEVICE_TABLE(i2c, lm93_id);
+1 -1
drivers/hwmon/lm95241.c
··· 457 457 458 458 /* Driver data (common to all clients) */ 459 459 static const struct i2c_device_id lm95241_id[] = { 460 - { "lm95231", 0 }, 460 + { "lm95231" }, 461 461 { "lm95241", 0 }, 462 462 { } 463 463 };
+2 -2
drivers/hwmon/lm95245.c
··· 578 578 579 579 /* Driver data (common to all clients) */ 580 580 static const struct i2c_device_id lm95245_id[] = { 581 - { "lm95235", 0 }, 582 - { "lm95245", 0 }, 581 + { "lm95235" }, 582 + { "lm95245" }, 583 583 { } 584 584 }; 585 585 MODULE_DEVICE_TABLE(i2c, lm95245_id);
+1 -1
drivers/hwmon/ltc2945.c
··· 508 508 } 509 509 510 510 static const struct i2c_device_id ltc2945_id[] = { 511 - {"ltc2945", 0}, 511 + {"ltc2945"}, 512 512 { } 513 513 }; 514 514
+1 -1
drivers/hwmon/ltc2947-i2c.c
··· 27 27 } 28 28 29 29 static const struct i2c_device_id ltc2947_id[] = { 30 - {"ltc2947", 0}, 30 + {"ltc2947"}, 31 31 {} 32 32 }; 33 33 MODULE_DEVICE_TABLE(i2c, ltc2947_id);
+1 -1
drivers/hwmon/ltc2990.c
··· 259 259 } 260 260 261 261 static const struct i2c_device_id ltc2990_i2c_id[] = { 262 - { "ltc2990", 0 }, 262 + { "ltc2990" }, 263 263 {} 264 264 }; 265 265 MODULE_DEVICE_TABLE(i2c, ltc2990_i2c_id);
+1 -1
drivers/hwmon/ltc2991.c
··· 414 414 MODULE_DEVICE_TABLE(of, ltc2991_of_match); 415 415 416 416 static const struct i2c_device_id ltc2991_i2c_id[] = { 417 - { "ltc2991", 0 }, 417 + { "ltc2991" }, 418 418 {} 419 419 }; 420 420 MODULE_DEVICE_TABLE(i2c, ltc2991_i2c_id);
+1 -1
drivers/hwmon/ltc2992.c
··· 922 922 MODULE_DEVICE_TABLE(of, ltc2992_of_match); 923 923 924 924 static const struct i2c_device_id ltc2992_i2c_id[] = { 925 - {"ltc2992", 0}, 925 + {"ltc2992"}, 926 926 {} 927 927 }; 928 928 MODULE_DEVICE_TABLE(i2c, ltc2992_i2c_id);
+1 -1
drivers/hwmon/ltc4151.c
··· 188 188 } 189 189 190 190 static const struct i2c_device_id ltc4151_id[] = { 191 - { "ltc4151", 0 }, 191 + { "ltc4151" }, 192 192 { } 193 193 }; 194 194 MODULE_DEVICE_TABLE(i2c, ltc4151_id);
+1 -1
drivers/hwmon/ltc4215.c
··· 245 245 } 246 246 247 247 static const struct i2c_device_id ltc4215_id[] = { 248 - { "ltc4215", 0 }, 248 + { "ltc4215" }, 249 249 { } 250 250 }; 251 251 MODULE_DEVICE_TABLE(i2c, ltc4215_id);
+1 -1
drivers/hwmon/ltc4222.c
··· 200 200 } 201 201 202 202 static const struct i2c_device_id ltc4222_id[] = { 203 - {"ltc4222", 0}, 203 + {"ltc4222"}, 204 204 { } 205 205 }; 206 206
+1 -1
drivers/hwmon/ltc4245.c
··· 469 469 } 470 470 471 471 static const struct i2c_device_id ltc4245_id[] = { 472 - { "ltc4245", 0 }, 472 + { "ltc4245" }, 473 473 { } 474 474 }; 475 475 MODULE_DEVICE_TABLE(i2c, ltc4245_id);
+1 -1
drivers/hwmon/ltc4260.c
··· 163 163 } 164 164 165 165 static const struct i2c_device_id ltc4260_id[] = { 166 - {"ltc4260", 0}, 166 + {"ltc4260"}, 167 167 { } 168 168 }; 169 169
+1 -1
drivers/hwmon/ltc4261.c
··· 222 222 } 223 223 224 224 static const struct i2c_device_id ltc4261_id[] = { 225 - {"ltc4261", 0}, 225 + {"ltc4261"}, 226 226 {} 227 227 }; 228 228
+1 -1
drivers/hwmon/max127.c
··· 329 329 } 330 330 331 331 static const struct i2c_device_id max127_id[] = { 332 - { "max127", 0 }, 332 + { "max127" }, 333 333 { } 334 334 }; 335 335 MODULE_DEVICE_TABLE(i2c, max127_id);
+1 -1
drivers/hwmon/max1619.c
··· 285 285 } 286 286 287 287 static const struct i2c_device_id max1619_id[] = { 288 - { "max1619", 0 }, 288 + { "max1619" }, 289 289 { } 290 290 }; 291 291 MODULE_DEVICE_TABLE(i2c, max1619_id);
+1 -1
drivers/hwmon/max31730.c
··· 345 345 } 346 346 347 347 static const struct i2c_device_id max31730_ids[] = { 348 - { "max31730", 0, }, 348 + { "max31730" }, 349 349 { } 350 350 }; 351 351 MODULE_DEVICE_TABLE(i2c, max31730_ids);
+1 -1
drivers/hwmon/max31790.c
··· 543 543 } 544 544 545 545 static const struct i2c_device_id max31790_id[] = { 546 - { "max31790", 0 }, 546 + { "max31790" }, 547 547 { } 548 548 }; 549 549 MODULE_DEVICE_TABLE(i2c, max31790_id);
+1 -1
drivers/hwmon/max6620.c
··· 493 493 } 494 494 495 495 static const struct i2c_device_id max6620_id[] = { 496 - { "max6620", 0 }, 496 + { "max6620" }, 497 497 { } 498 498 }; 499 499 MODULE_DEVICE_TABLE(i2c, max6620_id);
+1 -1
drivers/hwmon/max6639.c
··· 610 610 } 611 611 612 612 static const struct i2c_device_id max6639_id[] = { 613 - {"max6639", 0}, 613 + {"max6639"}, 614 614 { } 615 615 }; 616 616
+1 -1
drivers/hwmon/max6642.c
··· 291 291 */ 292 292 293 293 static const struct i2c_device_id max6642_id[] = { 294 - { "max6642", 0 }, 294 + { "max6642" }, 295 295 { } 296 296 }; 297 297 MODULE_DEVICE_TABLE(i2c, max6642_id);
+1 -1
drivers/hwmon/mc34vr500.c
··· 235 235 } 236 236 237 237 static const struct i2c_device_id mc34vr500_id[] = { 238 - { "mc34vr500", 0 }, 238 + { "mc34vr500" }, 239 239 { }, 240 240 }; 241 241 MODULE_DEVICE_TABLE(i2c, mc34vr500_id);
+1 -1
drivers/hwmon/nct7802.c
··· 1212 1212 }; 1213 1213 1214 1214 static const struct i2c_device_id nct7802_idtable[] = { 1215 - { "nct7802", 0 }, 1215 + { "nct7802" }, 1216 1216 { } 1217 1217 }; 1218 1218 MODULE_DEVICE_TABLE(i2c, nct7802_idtable);
+1 -1
drivers/hwmon/nct7904.c
··· 1161 1161 } 1162 1162 1163 1163 static const struct i2c_device_id nct7904_id[] = { 1164 - {"nct7904", 0}, 1164 + {"nct7904"}, 1165 1165 {} 1166 1166 }; 1167 1167 MODULE_DEVICE_TABLE(i2c, nct7904_id);
+1 -1
drivers/hwmon/pcf8591.c
··· 285 285 } 286 286 287 287 static const struct i2c_device_id pcf8591_id[] = { 288 - { "pcf8591", 0 }, 288 + { "pcf8591" }, 289 289 { } 290 290 }; 291 291 MODULE_DEVICE_TABLE(i2c, pcf8591_id);
+1 -1
drivers/hwmon/pmbus/adm1266.c
··· 490 490 MODULE_DEVICE_TABLE(of, adm1266_of_match); 491 491 492 492 static const struct i2c_device_id adm1266_id[] = { 493 - { "adm1266", 0 }, 493 + { "adm1266" }, 494 494 { } 495 495 }; 496 496 MODULE_DEVICE_TABLE(i2c, adm1266_id);
+1 -1
drivers/hwmon/pmbus/adp1050.c
··· 29 29 } 30 30 31 31 static const struct i2c_device_id adp1050_id[] = { 32 - {"adp1050", 0}, 32 + {"adp1050"}, 33 33 {} 34 34 }; 35 35 MODULE_DEVICE_TABLE(i2c, adp1050_id);
+1 -1
drivers/hwmon/pmbus/inspur-ipsps.c
··· 197 197 } 198 198 199 199 static const struct i2c_device_id ipsps_id[] = { 200 - { "ipsps1", 0 }, 200 + { "ipsps1" }, 201 201 {} 202 202 }; 203 203 MODULE_DEVICE_TABLE(i2c, ipsps_id);
+1 -1
drivers/hwmon/pmbus/ir35221.c
··· 126 126 } 127 127 128 128 static const struct i2c_device_id ir35221_id[] = { 129 - {"ir35221", 0}, 129 + {"ir35221"}, 130 130 {} 131 131 }; 132 132
+1 -1
drivers/hwmon/pmbus/ir36021.c
··· 51 51 } 52 52 53 53 static const struct i2c_device_id ir36021_id[] = { 54 - { "ir36021", 0 }, 54 + { "ir36021" }, 55 55 {}, 56 56 }; 57 57 MODULE_DEVICE_TABLE(i2c, ir36021_id);
+4 -4
drivers/hwmon/pmbus/ir38064.c
··· 53 53 } 54 54 55 55 static const struct i2c_device_id ir38064_id[] = { 56 - {"ir38060", 0}, 57 - {"ir38064", 0}, 58 - {"ir38164", 0}, 59 - {"ir38263", 0}, 56 + {"ir38060"}, 57 + {"ir38064"}, 58 + {"ir38164"}, 59 + {"ir38263"}, 60 60 {} 61 61 }; 62 62
+1 -1
drivers/hwmon/pmbus/irps5401.c
··· 44 44 } 45 45 46 46 static const struct i2c_device_id irps5401_id[] = { 47 - {"irps5401", 0}, 47 + {"irps5401"}, 48 48 {} 49 49 }; 50 50
+1 -1
drivers/hwmon/pmbus/lt7182s.c
··· 168 168 } 169 169 170 170 static const struct i2c_device_id lt7182s_id[] = { 171 - { "lt7182s", 0 }, 171 + { "lt7182s" }, 172 172 {} 173 173 }; 174 174 MODULE_DEVICE_TABLE(i2c, lt7182s_id);
+1 -1
drivers/hwmon/pmbus/ltc3815.c
··· 143 143 } 144 144 145 145 static const struct i2c_device_id ltc3815_id[] = { 146 - {"ltc3815", 0}, 146 + {"ltc3815"}, 147 147 { } 148 148 }; 149 149 MODULE_DEVICE_TABLE(i2c, ltc3815_id);
+1 -1
drivers/hwmon/pmbus/max15301.c
··· 23 23 #include "pmbus.h" 24 24 25 25 static const struct i2c_device_id max15301_id[] = { 26 - {"bmr461", 0}, 26 + {"bmr461"}, 27 27 {"max15301", 0}, 28 28 {} 29 29 };
+1 -1
drivers/hwmon/pmbus/max16064.c
··· 91 91 } 92 92 93 93 static const struct i2c_device_id max16064_id[] = { 94 - {"max16064", 0}, 94 + {"max16064"}, 95 95 {} 96 96 }; 97 97
+1 -1
drivers/hwmon/pmbus/max20751.c
··· 32 32 } 33 33 34 34 static const struct i2c_device_id max20751_id[] = { 35 - {"max20751", 0}, 35 + {"max20751"}, 36 36 {} 37 37 }; 38 38
+3 -3
drivers/hwmon/pmbus/max31785.c
··· 518 518 } 519 519 520 520 static const struct i2c_device_id max31785_id[] = { 521 - { "max31785", 0 }, 522 - { "max31785a", 0 }, 523 - { "max31785b", 0 }, 521 + { "max31785" }, 522 + { "max31785a" }, 523 + { "max31785b" }, 524 524 { }, 525 525 }; 526 526
+1 -1
drivers/hwmon/pmbus/max8688.c
··· 171 171 } 172 172 173 173 static const struct i2c_device_id max8688_id[] = { 174 - {"max8688", 0}, 174 + {"max8688"}, 175 175 { } 176 176 }; 177 177
+1 -1
drivers/hwmon/pmbus/mp2888.c
··· 378 378 } 379 379 380 380 static const struct i2c_device_id mp2888_id[] = { 381 - {"mp2888", 0}, 381 + {"mp2888"}, 382 382 {} 383 383 }; 384 384
+1 -1
drivers/hwmon/pmbus/mp5990.c
··· 158 158 }; 159 159 160 160 static const struct i2c_device_id mp5990_id[] = { 161 - {"mp5990", 0}, 161 + {"mp5990"}, 162 162 { } 163 163 }; 164 164 MODULE_DEVICE_TABLE(i2c, mp5990_id);
+1 -1
drivers/hwmon/pmbus/mpq8785.c
··· 62 62 }; 63 63 64 64 static const struct i2c_device_id mpq8785_id[] = { 65 - { "mpq8785", 0 }, 65 + { "mpq8785" }, 66 66 { }, 67 67 }; 68 68 MODULE_DEVICE_TABLE(i2c, mpq8785_id);
+1 -1
drivers/hwmon/pmbus/pli1209bc.c
··· 141 141 } 142 142 143 143 static const struct i2c_device_id pli1209bc_id[] = { 144 - {"pli1209bc", 0}, 144 + {"pli1209bc"}, 145 145 {} 146 146 }; 147 147
+1 -1
drivers/hwmon/pmbus/pm6764tr.c
··· 48 48 } 49 49 50 50 static const struct i2c_device_id pm6764tr_id[] = { 51 - {"pm6764tr", 0}, 51 + {"pm6764tr"}, 52 52 {} 53 53 }; 54 54 MODULE_DEVICE_TABLE(i2c, pm6764tr_id);
+3 -3
drivers/hwmon/pmbus/pxe1610.c
··· 127 127 } 128 128 129 129 static const struct i2c_device_id pxe1610_id[] = { 130 - {"pxe1610", 0}, 131 - {"pxe1110", 0}, 132 - {"pxm1310", 0}, 130 + {"pxe1610"}, 131 + {"pxe1110"}, 132 + {"pxm1310"}, 133 133 {} 134 134 }; 135 135
+2 -2
drivers/hwmon/pmbus/stpddc60.c
··· 18 18 #define STPDDC60_MFR_UV_LIMIT_OFFSET 0xe6 19 19 20 20 static const struct i2c_device_id stpddc60_id[] = { 21 - {"stpddc60", 0}, 22 - {"bmr481", 0}, 21 + {"stpddc60"}, 22 + {"bmr481"}, 23 23 {} 24 24 }; 25 25 MODULE_DEVICE_TABLE(i2c, stpddc60_id);
+1 -1
drivers/hwmon/pmbus/tda38640.c
··· 195 195 } 196 196 197 197 static const struct i2c_device_id tda38640_id[] = { 198 - {"tda38640", 0}, 198 + {"tda38640"}, 199 199 {} 200 200 }; 201 201 MODULE_DEVICE_TABLE(i2c, tda38640_id);
+1 -1
drivers/hwmon/pmbus/tps40422.c
··· 31 31 } 32 32 33 33 static const struct i2c_device_id tps40422_id[] = { 34 - {"tps40422", 0}, 34 + {"tps40422"}, 35 35 {} 36 36 }; 37 37
+1 -1
drivers/hwmon/pmbus/tps546d24.c
··· 42 42 } 43 43 44 44 static const struct i2c_device_id tps546d24_id[] = { 45 - {"tps546d24", 0}, 45 + {"tps546d24"}, 46 46 {} 47 47 }; 48 48 MODULE_DEVICE_TABLE(i2c, tps546d24_id);
+1 -1
drivers/hwmon/pmbus/xdp710.c
··· 110 110 }; 111 111 112 112 static const struct i2c_device_id xdp710_id[] = { 113 - {"xdp710", 0}, 113 + {"xdp710"}, 114 114 { } 115 115 }; 116 116 MODULE_DEVICE_TABLE(i2c, xdp710_id);
+3 -3
drivers/hwmon/pmbus/xdpe12284.c
··· 164 164 } 165 165 166 166 static const struct i2c_device_id xdpe122_id[] = { 167 - {"xdpe11280", 0}, 168 - {"xdpe12254", 0}, 169 - {"xdpe12284", 0}, 167 + {"xdpe11280"}, 168 + {"xdpe12254"}, 169 + {"xdpe12284"}, 170 170 {} 171 171 }; 172 172
+2 -2
drivers/hwmon/pmbus/xdpe152c4.c
··· 44 44 } 45 45 46 46 static const struct i2c_device_id xdpe152_id[] = { 47 - {"xdpe152c4", 0}, 48 - {"xdpe15284", 0}, 47 + {"xdpe152c4"}, 48 + {"xdpe15284"}, 49 49 {} 50 50 }; 51 51
+1 -1
drivers/hwmon/pt5161l.c
··· 630 630 MODULE_DEVICE_TABLE(acpi, pt5161l_acpi_match); 631 631 632 632 static const struct i2c_device_id pt5161l_id[] = { 633 - { "pt5161l", 0 }, 633 + { "pt5161l" }, 634 634 {} 635 635 }; 636 636 MODULE_DEVICE_TABLE(i2c, pt5161l_id);
+1 -1
drivers/hwmon/sbrmi.c
··· 328 328 } 329 329 330 330 static const struct i2c_device_id sbrmi_id[] = { 331 - {"sbrmi", 0}, 331 + {"sbrmi"}, 332 332 {} 333 333 }; 334 334 MODULE_DEVICE_TABLE(i2c, sbrmi_id);
+1 -1
drivers/hwmon/sbtsi_temp.c
··· 218 218 } 219 219 220 220 static const struct i2c_device_id sbtsi_id[] = { 221 - {"sbtsi", 0}, 221 + {"sbtsi"}, 222 222 {} 223 223 }; 224 224 MODULE_DEVICE_TABLE(i2c, sbtsi_id);
+1 -1
drivers/hwmon/sht21.c
··· 278 278 279 279 /* Device ID table */ 280 280 static const struct i2c_device_id sht21_id[] = { 281 - { "sht21", 0 }, 281 + { "sht21" }, 282 282 { } 283 283 }; 284 284 MODULE_DEVICE_TABLE(i2c, sht21_id);
+1 -1
drivers/hwmon/sht4x.c
··· 276 276 } 277 277 278 278 static const struct i2c_device_id sht4x_id[] = { 279 - { "sht4x", 0 }, 279 + { "sht4x" }, 280 280 { }, 281 281 }; 282 282 MODULE_DEVICE_TABLE(i2c, sht4x_id);
+1 -1
drivers/hwmon/smsc47m192.c
··· 618 618 } 619 619 620 620 static const struct i2c_device_id smsc47m192_id[] = { 621 - { "smsc47m192", 0 }, 621 + { "smsc47m192" }, 622 622 { } 623 623 }; 624 624 MODULE_DEVICE_TABLE(i2c, smsc47m192_id);
+1 -1
drivers/hwmon/stts751.c
··· 72 72 }; 73 73 74 74 static const struct i2c_device_id stts751_id[] = { 75 - { "stts751", 0 }, 75 + { "stts751" }, 76 76 { } 77 77 }; 78 78
+2 -2
drivers/hwmon/tc654.c
··· 550 550 } 551 551 552 552 static const struct i2c_device_id tc654_id[] = { 553 - {"tc654", 0}, 554 - {"tc655", 0}, 553 + {"tc654"}, 554 + {"tc655"}, 555 555 {} 556 556 }; 557 557
+1 -1
drivers/hwmon/tc74.c
··· 151 151 } 152 152 153 153 static const struct i2c_device_id tc74_id[] = { 154 - { "tc74", 0 }, 154 + { "tc74" }, 155 155 {} 156 156 }; 157 157 MODULE_DEVICE_TABLE(i2c, tc74_id);
+1 -1
drivers/hwmon/tmp102.c
··· 286 286 static DEFINE_SIMPLE_DEV_PM_OPS(tmp102_dev_pm_ops, tmp102_suspend, tmp102_resume); 287 287 288 288 static const struct i2c_device_id tmp102_id[] = { 289 - { "tmp102", 0 }, 289 + { "tmp102" }, 290 290 { } 291 291 }; 292 292 MODULE_DEVICE_TABLE(i2c, tmp102_id);
+1 -1
drivers/hwmon/tmp103.c
··· 197 197 static DEFINE_SIMPLE_DEV_PM_OPS(tmp103_dev_pm_ops, tmp103_suspend, tmp103_resume); 198 198 199 199 static const struct i2c_device_id tmp103_id[] = { 200 - { "tmp103", 0 }, 200 + { "tmp103" }, 201 201 { } 202 202 }; 203 203 MODULE_DEVICE_TABLE(i2c, tmp103_id);
+1 -1
drivers/hwmon/tmp108.c
··· 413 413 static DEFINE_SIMPLE_DEV_PM_OPS(tmp108_dev_pm_ops, tmp108_suspend, tmp108_resume); 414 414 415 415 static const struct i2c_device_id tmp108_i2c_ids[] = { 416 - { "tmp108", 0 }, 416 + { "tmp108" }, 417 417 { } 418 418 }; 419 419 MODULE_DEVICE_TABLE(i2c, tmp108_i2c_ids);
+1 -1
drivers/hwmon/w83791d.c
··· 328 328 static void w83791d_init_client(struct i2c_client *client); 329 329 330 330 static const struct i2c_device_id w83791d_id[] = { 331 - { "w83791d", 0 }, 331 + { "w83791d" }, 332 332 { } 333 333 }; 334 334 MODULE_DEVICE_TABLE(i2c, w83791d_id);
+1 -1
drivers/hwmon/w83792d.c
··· 296 296 static void w83792d_init_client(struct i2c_client *client); 297 297 298 298 static const struct i2c_device_id w83792d_id[] = { 299 - { "w83792d", 0 }, 299 + { "w83792d" }, 300 300 { } 301 301 }; 302 302 MODULE_DEVICE_TABLE(i2c, w83792d_id);
+1 -1
drivers/hwmon/w83793.c
··· 291 291 static struct w83793_data *w83793_update_device(struct device *dev); 292 292 293 293 static const struct i2c_device_id w83793_id[] = { 294 - { "w83793", 0 }, 294 + { "w83793" }, 295 295 { } 296 296 }; 297 297 MODULE_DEVICE_TABLE(i2c, w83793_id);
+1 -1
drivers/hwmon/w83l785ts.c
··· 74 74 */ 75 75 76 76 static const struct i2c_device_id w83l785ts_id[] = { 77 - { "w83l785ts", 0 }, 77 + { "w83l785ts" }, 78 78 { } 79 79 }; 80 80 MODULE_DEVICE_TABLE(i2c, w83l785ts_id);
+1 -1
drivers/hwmon/w83l786ng.c
··· 741 741 } 742 742 743 743 static const struct i2c_device_id w83l786ng_id[] = { 744 - { "w83l786ng", 0 }, 744 + { "w83l786ng" }, 745 745 { } 746 746 }; 747 747 MODULE_DEVICE_TABLE(i2c, w83l786ng_id);