mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
hwmon: Switch i2c drivers back to use .probe()
After commitb8a1a4cd5a
("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498
("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from struct i2c_driver. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230505131718.1210071-1-u.kleine-koenig@pengutronix.de [groeck: Added missing change in pmbus/acbel-fsg032.c] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
339c8f2484
commit
1975d16786
@ -221,7 +221,7 @@ static struct i2c_driver ad7414_driver = {
|
||||
.name = "ad7414",
|
||||
.of_match_table = of_match_ptr(ad7414_of_match),
|
||||
},
|
||||
.probe_new = ad7414_probe,
|
||||
.probe = ad7414_probe,
|
||||
.id_table = ad7414_id,
|
||||
};
|
||||
|
||||
|
@ -306,7 +306,7 @@ static struct i2c_driver ad7418_driver = {
|
||||
.name = "ad7418",
|
||||
.of_match_table = ad7418_dt_ids,
|
||||
},
|
||||
.probe_new = ad7418_probe,
|
||||
.probe = ad7418_probe,
|
||||
.id_table = ad7418_id,
|
||||
};
|
||||
|
||||
|
@ -521,7 +521,7 @@ static struct i2c_driver adc128_driver = {
|
||||
.name = "adc128d818",
|
||||
.of_match_table = of_match_ptr(adc128_of_match),
|
||||
},
|
||||
.probe_new = adc128_probe,
|
||||
.probe = adc128_probe,
|
||||
.remove = adc128_remove,
|
||||
.id_table = adc128_id,
|
||||
.detect = adc128_detect,
|
||||
|
@ -488,7 +488,7 @@ static struct i2c_driver adm1021_driver = {
|
||||
.driver = {
|
||||
.name = "adm1021",
|
||||
},
|
||||
.probe_new = adm1021_probe,
|
||||
.probe = adm1021_probe,
|
||||
.id_table = adm1021_id,
|
||||
.detect = adm1021_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -559,7 +559,7 @@ static struct i2c_driver adm1025_driver = {
|
||||
.driver = {
|
||||
.name = "adm1025",
|
||||
},
|
||||
.probe_new = adm1025_probe,
|
||||
.probe = adm1025_probe,
|
||||
.id_table = adm1025_id,
|
||||
.detect = adm1025_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -1859,7 +1859,7 @@ static struct i2c_driver adm1026_driver = {
|
||||
.driver = {
|
||||
.name = "adm1026",
|
||||
},
|
||||
.probe_new = adm1026_probe,
|
||||
.probe = adm1026_probe,
|
||||
.id_table = adm1026_id,
|
||||
.detect = adm1026_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -389,7 +389,7 @@ static struct i2c_driver adm1029_driver = {
|
||||
.driver = {
|
||||
.name = "adm1029",
|
||||
},
|
||||
.probe_new = adm1029_probe,
|
||||
.probe = adm1029_probe,
|
||||
.id_table = adm1029_id,
|
||||
.detect = adm1029_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -1068,7 +1068,7 @@ static struct i2c_driver adm1031_driver = {
|
||||
.driver = {
|
||||
.name = "adm1031",
|
||||
},
|
||||
.probe_new = adm1031_probe,
|
||||
.probe = adm1031_probe,
|
||||
.id_table = adm1031_id,
|
||||
.detect = adm1031_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -255,7 +255,7 @@ static struct i2c_driver adm1177_driver = {
|
||||
.name = "adm1177",
|
||||
.of_match_table = adm1177_dt_ids,
|
||||
},
|
||||
.probe_new = adm1177_probe,
|
||||
.probe = adm1177_probe,
|
||||
.id_table = adm1177_id,
|
||||
};
|
||||
module_i2c_driver(adm1177_driver);
|
||||
|
@ -819,7 +819,7 @@ static struct i2c_driver adm9240_driver = {
|
||||
.driver = {
|
||||
.name = "adm9240",
|
||||
},
|
||||
.probe_new = adm9240_probe,
|
||||
.probe = adm9240_probe,
|
||||
.id_table = adm9240_id,
|
||||
.detect = adm9240_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -208,7 +208,7 @@ static struct i2c_driver ads7828_driver = {
|
||||
},
|
||||
|
||||
.id_table = ads7828_device_ids,
|
||||
.probe_new = ads7828_probe,
|
||||
.probe = ads7828_probe,
|
||||
};
|
||||
|
||||
module_i2c_driver(ads7828_driver);
|
||||
|
@ -100,7 +100,7 @@ static struct i2c_driver adt7410_driver = {
|
||||
.name = "adt7410",
|
||||
.pm = pm_sleep_ptr(&adt7x10_dev_pm_ops),
|
||||
},
|
||||
.probe_new = adt7410_i2c_probe,
|
||||
.probe = adt7410_i2c_probe,
|
||||
.id_table = adt7410_ids,
|
||||
.address_list = I2C_ADDRS(0x48, 0x49, 0x4a, 0x4b),
|
||||
};
|
||||
|
@ -706,7 +706,7 @@ static struct i2c_driver adt7411_driver = {
|
||||
.driver = {
|
||||
.name = "adt7411",
|
||||
},
|
||||
.probe_new = adt7411_probe,
|
||||
.probe = adt7411_probe,
|
||||
.id_table = adt7411_id,
|
||||
.detect = adt7411_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -1819,7 +1819,7 @@ static struct i2c_driver adt7462_driver = {
|
||||
.driver = {
|
||||
.name = "adt7462",
|
||||
},
|
||||
.probe_new = adt7462_probe,
|
||||
.probe = adt7462_probe,
|
||||
.id_table = adt7462_id,
|
||||
.detect = adt7462_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -1314,7 +1314,7 @@ static struct i2c_driver adt7470_driver = {
|
||||
.driver = {
|
||||
.name = "adt7470",
|
||||
},
|
||||
.probe_new = adt7470_probe,
|
||||
.probe = adt7470_probe,
|
||||
.remove = adt7470_remove,
|
||||
.id_table = adt7470_id,
|
||||
.detect = adt7470_detect,
|
||||
|
@ -1821,7 +1821,7 @@ static struct i2c_driver adt7475_driver = {
|
||||
.name = "adt7475",
|
||||
.of_match_table = of_match_ptr(adt7475_of_match),
|
||||
},
|
||||
.probe_new = adt7475_probe,
|
||||
.probe = adt7475_probe,
|
||||
.id_table = adt7475_id,
|
||||
.detect = adt7475_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -334,7 +334,7 @@ static struct i2c_driver aht10_driver = {
|
||||
.driver = {
|
||||
.name = "aht10",
|
||||
},
|
||||
.probe_new = aht10_probe,
|
||||
.probe = aht10_probe,
|
||||
.id_table = aht10_id,
|
||||
};
|
||||
|
||||
|
@ -939,7 +939,7 @@ static struct i2c_driver amc6821_driver = {
|
||||
.driver = {
|
||||
.name = "amc6821",
|
||||
},
|
||||
.probe_new = amc6821_probe,
|
||||
.probe = amc6821_probe,
|
||||
.id_table = amc6821_id,
|
||||
.detect = amc6821_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -223,7 +223,7 @@ static struct i2c_driver asb100_driver = {
|
||||
.driver = {
|
||||
.name = "asb100",
|
||||
},
|
||||
.probe_new = asb100_probe,
|
||||
.probe = asb100_probe,
|
||||
.remove = asb100_remove,
|
||||
.id_table = asb100_id,
|
||||
.detect = asb100_detect,
|
||||
|
@ -1191,7 +1191,7 @@ static struct i2c_driver asc7621_driver = {
|
||||
.driver = {
|
||||
.name = "asc7621",
|
||||
},
|
||||
.probe_new = asc7621_probe,
|
||||
.probe = asc7621_probe,
|
||||
.remove = asc7621_remove,
|
||||
.id_table = asc7621_id,
|
||||
.detect = asc7621_detect,
|
||||
|
@ -288,7 +288,7 @@ static struct i2c_driver atxp1_driver = {
|
||||
.driver = {
|
||||
.name = "atxp1",
|
||||
},
|
||||
.probe_new = atxp1_probe,
|
||||
.probe = atxp1_probe,
|
||||
.id_table = atxp1_id,
|
||||
};
|
||||
|
||||
|
@ -2528,7 +2528,7 @@ static struct i2c_driver dme1737_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "dme1737",
|
||||
},
|
||||
.probe_new = dme1737_i2c_probe,
|
||||
.probe = dme1737_i2c_probe,
|
||||
.remove = dme1737_i2c_remove,
|
||||
.id_table = dme1737_id,
|
||||
.detect = dme1737_i2c_detect,
|
||||
|
@ -384,7 +384,7 @@ static struct i2c_driver ds1621_driver = {
|
||||
.driver = {
|
||||
.name = "ds1621",
|
||||
},
|
||||
.probe_new = ds1621_probe,
|
||||
.probe = ds1621_probe,
|
||||
.id_table = ds1621_id,
|
||||
};
|
||||
|
||||
|
@ -245,7 +245,7 @@ static struct i2c_driver ds620_driver = {
|
||||
.driver = {
|
||||
.name = "ds620",
|
||||
},
|
||||
.probe_new = ds620_probe,
|
||||
.probe = ds620_probe,
|
||||
.id_table = ds620_id,
|
||||
};
|
||||
|
||||
|
@ -454,7 +454,7 @@ static struct i2c_driver sensor_emc1403 = {
|
||||
.name = "emc1403",
|
||||
},
|
||||
.detect = emc1403_detect,
|
||||
.probe_new = emc1403_probe,
|
||||
.probe = emc1403_probe,
|
||||
.id_table = emc1403_idtable,
|
||||
.address_list = emc1403_address_list,
|
||||
};
|
||||
|
@ -653,7 +653,7 @@ static struct i2c_driver emc2103_driver = {
|
||||
.driver = {
|
||||
.name = "emc2103",
|
||||
},
|
||||
.probe_new = emc2103_probe,
|
||||
.probe = emc2103_probe,
|
||||
.id_table = emc2103_ids,
|
||||
.detect = emc2103_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -615,7 +615,7 @@ static struct i2c_driver emc2305_driver = {
|
||||
.driver = {
|
||||
.name = "emc2305",
|
||||
},
|
||||
.probe_new = emc2305_probe,
|
||||
.probe = emc2305_probe,
|
||||
.remove = emc2305_remove,
|
||||
.id_table = emc2305_ids,
|
||||
.address_list = emc2305_normal_i2c,
|
||||
|
@ -474,7 +474,7 @@ static struct i2c_driver emc6w201_driver = {
|
||||
.driver = {
|
||||
.name = "emc6w201",
|
||||
},
|
||||
.probe_new = emc6w201_probe,
|
||||
.probe = emc6w201_probe,
|
||||
.id_table = emc6w201_id,
|
||||
.detect = emc6w201_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -129,7 +129,7 @@ static struct i2c_driver f75375_driver = {
|
||||
.driver = {
|
||||
.name = "f75375",
|
||||
},
|
||||
.probe_new = f75375_probe,
|
||||
.probe = f75375_probe,
|
||||
.remove = f75375_remove,
|
||||
.id_table = f75375_id,
|
||||
.detect = f75375_detect,
|
||||
|
@ -241,7 +241,7 @@ static struct i2c_driver fschmd_driver = {
|
||||
.driver = {
|
||||
.name = "fschmd",
|
||||
},
|
||||
.probe_new = fschmd_probe,
|
||||
.probe = fschmd_probe,
|
||||
.remove = fschmd_remove,
|
||||
.id_table = fschmd_id,
|
||||
.detect = fschmd_detect,
|
||||
|
@ -678,7 +678,7 @@ static struct i2c_driver fts_driver = {
|
||||
.name = "ftsteutates",
|
||||
},
|
||||
.id_table = fts_id,
|
||||
.probe_new = fts_probe,
|
||||
.probe = fts_probe,
|
||||
.detect = fts_detect,
|
||||
.address_list = normal_i2c,
|
||||
};
|
||||
|
@ -206,7 +206,7 @@ static struct i2c_driver g760a_driver = {
|
||||
.driver = {
|
||||
.name = "g760a",
|
||||
},
|
||||
.probe_new = g760a_probe,
|
||||
.probe = g760a_probe,
|
||||
.id_table = g760a_id,
|
||||
};
|
||||
|
||||
|
@ -1084,7 +1084,7 @@ static struct i2c_driver g762_driver = {
|
||||
.name = DRVNAME,
|
||||
.of_match_table = of_match_ptr(g762_dt_match),
|
||||
},
|
||||
.probe_new = g762_probe,
|
||||
.probe = g762_probe,
|
||||
.id_table = g762_id,
|
||||
};
|
||||
|
||||
|
@ -652,7 +652,7 @@ static struct i2c_driver gl518_driver = {
|
||||
.driver = {
|
||||
.name = "gl518sm",
|
||||
},
|
||||
.probe_new = gl518_probe,
|
||||
.probe = gl518_probe,
|
||||
.id_table = gl518_id,
|
||||
.detect = gl518_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -895,7 +895,7 @@ static struct i2c_driver gl520_driver = {
|
||||
.driver = {
|
||||
.name = "gl520sm",
|
||||
},
|
||||
.probe_new = gl520_probe,
|
||||
.probe = gl520_probe,
|
||||
.id_table = gl520_id,
|
||||
.detect = gl520_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -249,7 +249,7 @@ static struct i2c_driver hih6130_driver = {
|
||||
.name = "hih6130",
|
||||
.of_match_table = of_match_ptr(hih6130_of_match),
|
||||
},
|
||||
.probe_new = hih6130_probe,
|
||||
.probe = hih6130_probe,
|
||||
.id_table = hih6130_id,
|
||||
};
|
||||
|
||||
|
@ -594,7 +594,7 @@ static struct i2c_driver ina209_driver = {
|
||||
.name = "ina209",
|
||||
.of_match_table = of_match_ptr(ina209_of_match),
|
||||
},
|
||||
.probe_new = ina209_probe,
|
||||
.probe = ina209_probe,
|
||||
.remove = ina209_remove,
|
||||
.id_table = ina209_id,
|
||||
};
|
||||
|
@ -633,7 +633,7 @@ static struct i2c_driver ina238_driver = {
|
||||
.name = "ina238",
|
||||
.of_match_table = of_match_ptr(ina238_of_match),
|
||||
},
|
||||
.probe_new = ina238_probe,
|
||||
.probe = ina238_probe,
|
||||
.id_table = ina238_id,
|
||||
};
|
||||
|
||||
|
@ -721,7 +721,7 @@ static struct i2c_driver ina2xx_driver = {
|
||||
.name = "ina2xx",
|
||||
.of_match_table = of_match_ptr(ina2xx_of_match),
|
||||
},
|
||||
.probe_new = ina2xx_probe,
|
||||
.probe = ina2xx_probe,
|
||||
.id_table = ina2xx_id,
|
||||
};
|
||||
|
||||
|
@ -1010,7 +1010,7 @@ static const struct i2c_device_id ina3221_ids[] = {
|
||||
MODULE_DEVICE_TABLE(i2c, ina3221_ids);
|
||||
|
||||
static struct i2c_driver ina3221_i2c_driver = {
|
||||
.probe_new = ina3221_probe,
|
||||
.probe = ina3221_probe,
|
||||
.remove = ina3221_remove,
|
||||
.driver = {
|
||||
.name = INA3221_DRIVER_NAME,
|
||||
|
@ -629,7 +629,7 @@ static struct i2c_driver jc42_driver = {
|
||||
.pm = JC42_DEV_PM_OPS,
|
||||
.of_match_table = of_match_ptr(jc42_of_ids),
|
||||
},
|
||||
.probe_new = jc42_probe,
|
||||
.probe = jc42_probe,
|
||||
.remove = jc42_remove,
|
||||
.id_table = jc42_id,
|
||||
.detect = jc42_detect,
|
||||
|
@ -511,7 +511,7 @@ static struct i2c_driver pem_driver = {
|
||||
.driver = {
|
||||
.name = "lineage_pem",
|
||||
},
|
||||
.probe_new = pem_probe,
|
||||
.probe = pem_probe,
|
||||
.id_table = pem_id,
|
||||
};
|
||||
|
||||
|
@ -1164,7 +1164,7 @@ static struct i2c_driver lm63_driver = {
|
||||
.name = "lm63",
|
||||
.of_match_table = of_match_ptr(lm63_of_match),
|
||||
},
|
||||
.probe_new = lm63_probe,
|
||||
.probe = lm63_probe,
|
||||
.id_table = lm63_id,
|
||||
.detect = lm63_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -277,7 +277,7 @@ static struct i2c_driver lm73_driver = {
|
||||
.name = "lm73",
|
||||
.of_match_table = lm73_of_match,
|
||||
},
|
||||
.probe_new = lm73_probe,
|
||||
.probe = lm73_probe,
|
||||
.id_table = lm73_ids,
|
||||
.detect = lm73_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -945,7 +945,7 @@ static struct i2c_driver lm75_driver = {
|
||||
.of_match_table = of_match_ptr(lm75_of_match),
|
||||
.pm = LM75_DEV_PM_OPS,
|
||||
},
|
||||
.probe_new = lm75_probe,
|
||||
.probe = lm75_probe,
|
||||
.id_table = lm75_ids,
|
||||
.detect = lm75_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -348,7 +348,7 @@ static struct i2c_driver lm77_driver = {
|
||||
.driver = {
|
||||
.name = "lm77",
|
||||
},
|
||||
.probe_new = lm77_probe,
|
||||
.probe = lm77_probe,
|
||||
.id_table = lm77_id,
|
||||
.detect = lm77_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -662,7 +662,7 @@ static struct i2c_driver lm78_driver = {
|
||||
.driver = {
|
||||
.name = "lm78",
|
||||
},
|
||||
.probe_new = lm78_i2c_probe,
|
||||
.probe = lm78_i2c_probe,
|
||||
.id_table = lm78_i2c_id,
|
||||
.detect = lm78_i2c_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -633,7 +633,7 @@ static struct i2c_driver lm80_driver = {
|
||||
.driver = {
|
||||
.name = "lm80",
|
||||
},
|
||||
.probe_new = lm80_probe,
|
||||
.probe = lm80_probe,
|
||||
.id_table = lm80_id,
|
||||
.detect = lm80_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -454,7 +454,7 @@ static struct i2c_driver lm83_driver = {
|
||||
.driver = {
|
||||
.name = "lm83",
|
||||
},
|
||||
.probe_new = lm83_probe,
|
||||
.probe = lm83_probe,
|
||||
.id_table = lm83_id,
|
||||
.detect = lm83_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -1698,7 +1698,7 @@ static struct i2c_driver lm85_driver = {
|
||||
.name = "lm85",
|
||||
.of_match_table = of_match_ptr(lm85_of_match),
|
||||
},
|
||||
.probe_new = lm85_probe,
|
||||
.probe = lm85_probe,
|
||||
.id_table = lm85_id,
|
||||
.detect = lm85_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -994,7 +994,7 @@ static struct i2c_driver lm87_driver = {
|
||||
.name = "lm87",
|
||||
.of_match_table = lm87_of_match,
|
||||
},
|
||||
.probe_new = lm87_probe,
|
||||
.probe = lm87_probe,
|
||||
.id_table = lm87_id,
|
||||
.detect = lm87_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -2972,7 +2972,7 @@ static struct i2c_driver lm90_driver = {
|
||||
.of_match_table = of_match_ptr(lm90_of_match),
|
||||
.pm = pm_sleep_ptr(&lm90_pm_ops),
|
||||
},
|
||||
.probe_new = lm90_probe,
|
||||
.probe = lm90_probe,
|
||||
.alert = lm90_alert,
|
||||
.id_table = lm90_id,
|
||||
.detect = lm90_detect,
|
||||
|
@ -330,7 +330,7 @@ static struct i2c_driver lm92_driver = {
|
||||
.driver = {
|
||||
.name = "lm92",
|
||||
},
|
||||
.probe_new = lm92_probe,
|
||||
.probe = lm92_probe,
|
||||
.id_table = lm92_id,
|
||||
.detect = lm92_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -2635,7 +2635,7 @@ static struct i2c_driver lm93_driver = {
|
||||
.driver = {
|
||||
.name = "lm93",
|
||||
},
|
||||
.probe_new = lm93_probe,
|
||||
.probe = lm93_probe,
|
||||
.id_table = lm93_id,
|
||||
.detect = lm93_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -720,7 +720,7 @@ static struct i2c_driver lm95234_driver = {
|
||||
.driver = {
|
||||
.name = DRVNAME,
|
||||
},
|
||||
.probe_new = lm95234_probe,
|
||||
.probe = lm95234_probe,
|
||||
.id_table = lm95234_id,
|
||||
.detect = lm95234_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -468,7 +468,7 @@ static struct i2c_driver lm95241_driver = {
|
||||
.driver = {
|
||||
.name = DEVNAME,
|
||||
},
|
||||
.probe_new = lm95241_probe,
|
||||
.probe = lm95241_probe,
|
||||
.id_table = lm95241_id,
|
||||
.detect = lm95241_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -597,7 +597,7 @@ static struct i2c_driver lm95245_driver = {
|
||||
.name = "lm95245",
|
||||
.of_match_table = of_match_ptr(lm95245_of_match),
|
||||
},
|
||||
.probe_new = lm95245_probe,
|
||||
.probe = lm95245_probe,
|
||||
.id_table = lm95245_id,
|
||||
.detect = lm95245_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -519,7 +519,7 @@ static struct i2c_driver ltc2945_driver = {
|
||||
.name = "ltc2945",
|
||||
.of_match_table = of_match_ptr(ltc2945_of_match),
|
||||
},
|
||||
.probe_new = ltc2945_probe,
|
||||
.probe = ltc2945_probe,
|
||||
.id_table = ltc2945_id,
|
||||
};
|
||||
|
||||
|
@ -38,7 +38,7 @@ static struct i2c_driver ltc2947_driver = {
|
||||
.of_match_table = ltc2947_of_match,
|
||||
.pm = pm_sleep_ptr(<c2947_pm_ops),
|
||||
},
|
||||
.probe_new = ltc2947_probe,
|
||||
.probe = ltc2947_probe,
|
||||
.id_table = ltc2947_id,
|
||||
};
|
||||
module_i2c_driver(ltc2947_driver);
|
||||
|
@ -268,7 +268,7 @@ static struct i2c_driver ltc2990_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "ltc2990",
|
||||
},
|
||||
.probe_new = ltc2990_i2c_probe,
|
||||
.probe = ltc2990_i2c_probe,
|
||||
.id_table = ltc2990_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -928,7 +928,7 @@ static struct i2c_driver ltc2992_i2c_driver = {
|
||||
.name = "ltc2992",
|
||||
.of_match_table = ltc2992_of_match,
|
||||
},
|
||||
.probe_new = ltc2992_i2c_probe,
|
||||
.probe = ltc2992_i2c_probe,
|
||||
.id_table = ltc2992_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -205,7 +205,7 @@ static struct i2c_driver ltc4151_driver = {
|
||||
.name = "ltc4151",
|
||||
.of_match_table = of_match_ptr(ltc4151_match),
|
||||
},
|
||||
.probe_new = ltc4151_probe,
|
||||
.probe = ltc4151_probe,
|
||||
.id_table = ltc4151_id,
|
||||
};
|
||||
|
||||
|
@ -255,7 +255,7 @@ static struct i2c_driver ltc4215_driver = {
|
||||
.driver = {
|
||||
.name = "ltc4215",
|
||||
},
|
||||
.probe_new = ltc4215_probe,
|
||||
.probe = ltc4215_probe,
|
||||
.id_table = ltc4215_id,
|
||||
};
|
||||
|
||||
|
@ -210,7 +210,7 @@ static struct i2c_driver ltc4222_driver = {
|
||||
.driver = {
|
||||
.name = "ltc4222",
|
||||
},
|
||||
.probe_new = ltc4222_probe,
|
||||
.probe = ltc4222_probe,
|
||||
.id_table = ltc4222_id,
|
||||
};
|
||||
|
||||
|
@ -479,7 +479,7 @@ static struct i2c_driver ltc4245_driver = {
|
||||
.driver = {
|
||||
.name = "ltc4245",
|
||||
},
|
||||
.probe_new = ltc4245_probe,
|
||||
.probe = ltc4245_probe,
|
||||
.id_table = ltc4245_id,
|
||||
};
|
||||
|
||||
|
@ -173,7 +173,7 @@ static struct i2c_driver ltc4260_driver = {
|
||||
.driver = {
|
||||
.name = "ltc4260",
|
||||
},
|
||||
.probe_new = ltc4260_probe,
|
||||
.probe = ltc4260_probe,
|
||||
.id_table = ltc4260_id,
|
||||
};
|
||||
|
||||
|
@ -233,7 +233,7 @@ static struct i2c_driver ltc4261_driver = {
|
||||
.driver = {
|
||||
.name = "ltc4261",
|
||||
},
|
||||
.probe_new = ltc4261_probe,
|
||||
.probe = ltc4261_probe,
|
||||
.id_table = ltc4261_id,
|
||||
};
|
||||
|
||||
|
@ -339,7 +339,7 @@ static struct i2c_driver max127_driver = {
|
||||
.driver = {
|
||||
.name = "max127",
|
||||
},
|
||||
.probe_new = max127_probe,
|
||||
.probe = max127_probe,
|
||||
.id_table = max127_id,
|
||||
};
|
||||
|
||||
|
@ -600,7 +600,7 @@ static struct i2c_driver max16065_driver = {
|
||||
.driver = {
|
||||
.name = "max16065",
|
||||
},
|
||||
.probe_new = max16065_probe,
|
||||
.probe = max16065_probe,
|
||||
.id_table = max16065_id,
|
||||
};
|
||||
|
||||
|
@ -305,7 +305,7 @@ static struct i2c_driver max1619_driver = {
|
||||
.name = "max1619",
|
||||
.of_match_table = of_match_ptr(max1619_of_match),
|
||||
},
|
||||
.probe_new = max1619_probe,
|
||||
.probe = max1619_probe,
|
||||
.id_table = max1619_id,
|
||||
.detect = max1619_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -435,7 +435,7 @@ static struct i2c_driver max1668_driver = {
|
||||
.driver = {
|
||||
.name = "max1668",
|
||||
},
|
||||
.probe_new = max1668_probe,
|
||||
.probe = max1668_probe,
|
||||
.id_table = max1668_id,
|
||||
.detect = max1668_detect,
|
||||
.address_list = max1668_addr_list,
|
||||
|
@ -427,7 +427,7 @@ static struct i2c_driver max31730_driver = {
|
||||
.of_match_table = of_match_ptr(max31730_of_match),
|
||||
.pm = pm_sleep_ptr(&max31730_pm_ops),
|
||||
},
|
||||
.probe_new = max31730_probe,
|
||||
.probe = max31730_probe,
|
||||
.id_table = max31730_ids,
|
||||
.detect = max31730_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -584,7 +584,7 @@ static struct i2c_driver max31760_driver = {
|
||||
.of_match_table = max31760_of_match,
|
||||
.pm = pm_ptr(&max31760_pm_ops)
|
||||
},
|
||||
.probe_new = max31760_probe,
|
||||
.probe = max31760_probe,
|
||||
.id_table = max31760_id
|
||||
};
|
||||
module_i2c_driver(max31760_driver);
|
||||
|
@ -544,7 +544,7 @@ MODULE_DEVICE_TABLE(i2c, max31790_id);
|
||||
|
||||
static struct i2c_driver max31790_driver = {
|
||||
.class = I2C_CLASS_HWMON,
|
||||
.probe_new = max31790_probe,
|
||||
.probe = max31790_probe,
|
||||
.driver = {
|
||||
.name = "max31790",
|
||||
},
|
||||
|
@ -503,7 +503,7 @@ static struct i2c_driver max6620_driver = {
|
||||
.driver = {
|
||||
.name = "max6620",
|
||||
},
|
||||
.probe_new = max6620_probe,
|
||||
.probe = max6620_probe,
|
||||
.id_table = max6620_id,
|
||||
};
|
||||
|
||||
|
@ -554,7 +554,7 @@ static struct i2c_driver max6621_driver = {
|
||||
.name = MAX6621_DRV_NAME,
|
||||
.of_match_table = of_match_ptr(max6621_of_match),
|
||||
},
|
||||
.probe_new = max6621_probe,
|
||||
.probe = max6621_probe,
|
||||
.id_table = max6621_id,
|
||||
};
|
||||
|
||||
|
@ -624,7 +624,7 @@ static struct i2c_driver max6639_driver = {
|
||||
.name = "max6639",
|
||||
.pm = pm_sleep_ptr(&max6639_pm_ops),
|
||||
},
|
||||
.probe_new = max6639_probe,
|
||||
.probe = max6639_probe,
|
||||
.id_table = max6639_id,
|
||||
.detect = max6639_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -301,7 +301,7 @@ static struct i2c_driver max6642_driver = {
|
||||
.driver = {
|
||||
.name = "max6642",
|
||||
},
|
||||
.probe_new = max6642_probe,
|
||||
.probe = max6642_probe,
|
||||
.id_table = max6642_id,
|
||||
.detect = max6642_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -819,7 +819,7 @@ static struct i2c_driver max6650_driver = {
|
||||
.name = "max6650",
|
||||
.of_match_table = of_match_ptr(max6650_dt_match),
|
||||
},
|
||||
.probe_new = max6650_probe,
|
||||
.probe = max6650_probe,
|
||||
.id_table = max6650_id,
|
||||
};
|
||||
|
||||
|
@ -786,7 +786,7 @@ static struct i2c_driver max6697_driver = {
|
||||
.name = "max6697",
|
||||
.of_match_table = of_match_ptr(max6697_of_match),
|
||||
},
|
||||
.probe_new = max6697_probe,
|
||||
.probe = max6697_probe,
|
||||
.id_table = max6697_id,
|
||||
};
|
||||
|
||||
|
@ -251,7 +251,7 @@ static struct i2c_driver mc34vr500_driver = {
|
||||
.name = "mc34vr500",
|
||||
.of_match_table = of_match_ptr(mc34vr500_of_match),
|
||||
},
|
||||
.probe_new = mc34vr500_probe,
|
||||
.probe = mc34vr500_probe,
|
||||
.id_table = mc34vr500_id,
|
||||
};
|
||||
|
||||
|
@ -198,7 +198,7 @@ static struct i2c_driver mcp3021_driver = {
|
||||
.name = "mcp3021",
|
||||
.of_match_table = of_match_ptr(of_mcp3021_match),
|
||||
},
|
||||
.probe_new = mcp3021_probe,
|
||||
.probe = mcp3021_probe,
|
||||
.id_table = mcp3021_id,
|
||||
};
|
||||
|
||||
|
@ -183,7 +183,7 @@ static struct i2c_driver nct6775_i2c_driver = {
|
||||
.name = "nct6775-i2c",
|
||||
.of_match_table = of_match_ptr(nct6775_i2c_of_match),
|
||||
},
|
||||
.probe_new = nct6775_i2c_probe,
|
||||
.probe = nct6775_i2c_probe,
|
||||
.id_table = nct6775_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1223,7 +1223,7 @@ static struct i2c_driver nct7802_driver = {
|
||||
.name = DRVNAME,
|
||||
},
|
||||
.detect = nct7802_detect,
|
||||
.probe_new = nct7802_probe,
|
||||
.probe = nct7802_probe,
|
||||
.id_table = nct7802_idtable,
|
||||
.address_list = nct7802_address_list,
|
||||
};
|
||||
|
@ -1171,7 +1171,7 @@ static struct i2c_driver nct7904_driver = {
|
||||
.driver = {
|
||||
.name = "nct7904",
|
||||
},
|
||||
.probe_new = nct7904_probe,
|
||||
.probe = nct7904_probe,
|
||||
.id_table = nct7904_id,
|
||||
.detect = nct7904_detect,
|
||||
.address_list = normal_i2c,
|
||||
|
@ -246,7 +246,7 @@ static struct i2c_driver p8_i2c_occ_driver = {
|
||||
.name = "occ-hwmon",
|
||||
.of_match_table = p8_i2c_occ_of_match,
|
||||
},
|
||||
.probe_new = p8_i2c_occ_probe,
|
||||
.probe = p8_i2c_occ_probe,
|
||||
.remove = p8_i2c_occ_remove,
|
||||
};
|
||||
|
||||
|
@ -294,7 +294,7 @@ static struct i2c_driver pcf8591_driver = {
|
||||
.driver = {
|
||||
.name = "pcf8591",
|
||||
},
|
||||
.probe_new = pcf8591_probe,
|
||||
.probe = pcf8591_probe,
|
||||
.remove = pcf8591_remove,
|
||||
.id_table = pcf8591_id,
|
||||
};
|
||||
|
@ -73,7 +73,7 @@ static struct i2c_driver acbel_fsg032_driver = {
|
||||
.name = "acbel-fsg032",
|
||||
.of_match_table = acbel_fsg032_of_match,
|
||||
},
|
||||
.probe_new = acbel_fsg032_probe,
|
||||
.probe = acbel_fsg032_probe,
|
||||
.id_table = acbel_fsg032_id,
|
||||
};
|
||||
|
||||
|
@ -502,7 +502,7 @@ static struct i2c_driver adm1266_driver = {
|
||||
.name = "adm1266",
|
||||
.of_match_table = adm1266_of_match,
|
||||
},
|
||||
.probe_new = adm1266_probe,
|
||||
.probe = adm1266_probe,
|
||||
.id_table = adm1266_id,
|
||||
};
|
||||
|
||||
|
@ -832,7 +832,7 @@ static struct i2c_driver adm1275_driver = {
|
||||
.driver = {
|
||||
.name = "adm1275",
|
||||
},
|
||||
.probe_new = adm1275_probe,
|
||||
.probe = adm1275_probe,
|
||||
.id_table = adm1275_id,
|
||||
};
|
||||
|
||||
|
@ -120,7 +120,7 @@ static struct i2c_driver pfe_pmbus_driver = {
|
||||
.driver = {
|
||||
.name = "bel-pfe",
|
||||
},
|
||||
.probe_new = pfe_pmbus_probe,
|
||||
.probe = pfe_pmbus_probe,
|
||||
.id_table = pfe_device_id,
|
||||
};
|
||||
|
||||
|
@ -196,7 +196,7 @@ static struct i2c_driver bpa_rs600_driver = {
|
||||
.name = "bpa-rs600",
|
||||
.of_match_table = of_match_ptr(bpa_rs600_of_match),
|
||||
},
|
||||
.probe_new = bpa_rs600_probe,
|
||||
.probe = bpa_rs600_probe,
|
||||
.id_table = bpa_rs600_id,
|
||||
};
|
||||
|
||||
|
@ -119,7 +119,7 @@ static struct i2c_driver ahe50dc_fan_driver = {
|
||||
.name = "ahe50dc_fan",
|
||||
.of_match_table = of_match_ptr(ahe50dc_fan_of_match),
|
||||
},
|
||||
.probe_new = ahe50dc_fan_probe,
|
||||
.probe = ahe50dc_fan_probe,
|
||||
.id_table = ahe50dc_fan_id,
|
||||
};
|
||||
module_i2c_driver(ahe50dc_fan_driver);
|
||||
|
@ -195,7 +195,7 @@ static struct i2c_driver dps920ab_driver = {
|
||||
.name = "dps920ab",
|
||||
.of_match_table = of_match_ptr(dps920ab_of_match),
|
||||
},
|
||||
.probe_new = dps920ab_probe,
|
||||
.probe = dps920ab_probe,
|
||||
};
|
||||
|
||||
module_i2c_driver(dps920ab_driver);
|
||||
|
@ -282,7 +282,7 @@ static struct i2c_driver fsp3y_driver = {
|
||||
.driver = {
|
||||
.name = "fsp3y",
|
||||
},
|
||||
.probe_new = fsp3y_probe,
|
||||
.probe = fsp3y_probe,
|
||||
.id_table = fsp3y_id
|
||||
};
|
||||
|
||||
|
@ -605,7 +605,7 @@ static struct i2c_driver ibm_cffps_driver = {
|
||||
.name = "ibm-cffps",
|
||||
.of_match_table = ibm_cffps_of_match,
|
||||
},
|
||||
.probe_new = ibm_cffps_probe,
|
||||
.probe = ibm_cffps_probe,
|
||||
.id_table = ibm_cffps_id,
|
||||
};
|
||||
|
||||
|
@ -215,7 +215,7 @@ static struct i2c_driver ipsps_driver = {
|
||||
.name = "inspur-ipsps",
|
||||
.of_match_table = of_match_ptr(ipsps_of_match),
|
||||
},
|
||||
.probe_new = ipsps_probe,
|
||||
.probe = ipsps_probe,
|
||||
.id_table = ipsps_id,
|
||||
};
|
||||
|
||||
|
@ -136,7 +136,7 @@ static struct i2c_driver ir35221_driver = {
|
||||
.driver = {
|
||||
.name = "ir35221",
|
||||
},
|
||||
.probe_new = ir35221_probe,
|
||||
.probe = ir35221_probe,
|
||||
.id_table = ir35221_id,
|
||||
};
|
||||
|
||||
|
@ -68,7 +68,7 @@ static struct i2c_driver ir36021_driver = {
|
||||
.name = "ir36021",
|
||||
.of_match_table = of_match_ptr(ir36021_of_id),
|
||||
},
|
||||
.probe_new = ir36021_probe,
|
||||
.probe = ir36021_probe,
|
||||
.id_table = ir36021_id,
|
||||
};
|
||||
|
||||
|
@ -78,7 +78,7 @@ static struct i2c_driver ir38064_driver = {
|
||||
.name = "ir38064",
|
||||
.of_match_table = of_match_ptr(ir38064_of_match),
|
||||
},
|
||||
.probe_new = ir38064_probe,
|
||||
.probe = ir38064_probe,
|
||||
.id_table = ir38064_id,
|
||||
};
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user