Commit 964e1865 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Mark Brown

regulator: Switch i2c drivers back to use .probe()

After commit b8a1a4cd ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f4 ("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/20230505220218.1239542-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org
parent ac9a7868
...@@ -104,7 +104,7 @@ static struct i2c_driver pg86x_regulator_driver = { ...@@ -104,7 +104,7 @@ static struct i2c_driver pg86x_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(pg86x_dt_ids), .of_match_table = of_match_ptr(pg86x_dt_ids),
}, },
.probe_new = pg86x_i2c_probe, .probe = pg86x_i2c_probe,
.id_table = pg86x_i2c_id, .id_table = pg86x_i2c_id,
}; };
......
...@@ -791,7 +791,7 @@ static struct i2c_driver act8865_pmic_driver = { ...@@ -791,7 +791,7 @@ static struct i2c_driver act8865_pmic_driver = {
.name = "act8865", .name = "act8865",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = act8865_pmic_probe, .probe = act8865_pmic_probe,
.id_table = act8865_ids, .id_table = act8865_ids,
}; };
......
...@@ -254,7 +254,7 @@ static int ad5398_probe(struct i2c_client *client) ...@@ -254,7 +254,7 @@ static int ad5398_probe(struct i2c_client *client)
} }
static struct i2c_driver ad5398_driver = { static struct i2c_driver ad5398_driver = {
.probe_new = ad5398_probe, .probe = ad5398_probe,
.driver = { .driver = {
.name = "ad5398", .name = "ad5398",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
......
...@@ -1197,7 +1197,7 @@ static struct i2c_driver da9121_regulator_driver = { ...@@ -1197,7 +1197,7 @@ static struct i2c_driver da9121_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(da9121_dt_ids), .of_match_table = of_match_ptr(da9121_dt_ids),
}, },
.probe_new = da9121_i2c_probe, .probe = da9121_i2c_probe,
.remove = da9121_i2c_remove, .remove = da9121_i2c_remove,
.id_table = da9121_i2c_id, .id_table = da9121_i2c_id,
}; };
......
...@@ -224,7 +224,7 @@ static struct i2c_driver da9210_regulator_driver = { ...@@ -224,7 +224,7 @@ static struct i2c_driver da9210_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(da9210_dt_ids), .of_match_table = of_match_ptr(da9210_dt_ids),
}, },
.probe_new = da9210_i2c_probe, .probe = da9210_i2c_probe,
.id_table = da9210_i2c_id, .id_table = da9210_i2c_id,
}; };
......
...@@ -555,7 +555,7 @@ static struct i2c_driver da9211_regulator_driver = { ...@@ -555,7 +555,7 @@ static struct i2c_driver da9211_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(da9211_dt_ids), .of_match_table = of_match_ptr(da9211_dt_ids),
}, },
.probe_new = da9211_i2c_probe, .probe = da9211_i2c_probe,
.id_table = da9211_i2c_id, .id_table = da9211_i2c_id,
}; };
......
...@@ -775,7 +775,7 @@ static struct i2c_driver fan53555_regulator_driver = { ...@@ -775,7 +775,7 @@ static struct i2c_driver fan53555_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(fan53555_dt_ids), .of_match_table = of_match_ptr(fan53555_dt_ids),
}, },
.probe_new = fan53555_regulator_probe, .probe = fan53555_regulator_probe,
.id_table = fan53555_id, .id_table = fan53555_id,
}; };
......
...@@ -175,7 +175,7 @@ static struct i2c_driver fan53880_regulator_driver = { ...@@ -175,7 +175,7 @@ static struct i2c_driver fan53880_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = fan53880_dt_ids, .of_match_table = fan53880_dt_ids,
}, },
.probe_new = fan53880_i2c_probe, .probe = fan53880_i2c_probe,
.id_table = fan53880_i2c_id, .id_table = fan53880_i2c_id,
}; };
module_i2c_driver(fan53880_regulator_driver); module_i2c_driver(fan53880_regulator_driver);
......
...@@ -149,7 +149,7 @@ static struct i2c_driver isl6271a_i2c_driver = { ...@@ -149,7 +149,7 @@ static struct i2c_driver isl6271a_i2c_driver = {
.name = "isl6271a", .name = "isl6271a",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = isl6271a_probe, .probe = isl6271a_probe,
.id_table = isl6271a_id, .id_table = isl6271a_id,
}; };
......
...@@ -198,7 +198,7 @@ static struct i2c_driver isl9305_regulator_driver = { ...@@ -198,7 +198,7 @@ static struct i2c_driver isl9305_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(isl9305_dt_ids), .of_match_table = of_match_ptr(isl9305_dt_ids),
}, },
.probe_new = isl9305_i2c_probe, .probe = isl9305_i2c_probe,
.id_table = isl9305_i2c_id, .id_table = isl9305_i2c_id,
}; };
......
...@@ -449,7 +449,7 @@ static struct i2c_driver lp3971_i2c_driver = { ...@@ -449,7 +449,7 @@ static struct i2c_driver lp3971_i2c_driver = {
.name = "LP3971", .name = "LP3971",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = lp3971_i2c_probe, .probe = lp3971_i2c_probe,
.id_table = lp3971_i2c_id, .id_table = lp3971_i2c_id,
}; };
......
...@@ -547,7 +547,7 @@ static struct i2c_driver lp3972_i2c_driver = { ...@@ -547,7 +547,7 @@ static struct i2c_driver lp3972_i2c_driver = {
.name = "lp3972", .name = "lp3972",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = lp3972_i2c_probe, .probe = lp3972_i2c_probe,
.id_table = lp3972_i2c_id, .id_table = lp3972_i2c_id,
}; };
......
...@@ -947,7 +947,7 @@ static struct i2c_driver lp872x_driver = { ...@@ -947,7 +947,7 @@ static struct i2c_driver lp872x_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(lp872x_dt_ids), .of_match_table = of_match_ptr(lp872x_dt_ids),
}, },
.probe_new = lp872x_probe, .probe = lp872x_probe,
.id_table = lp872x_ids, .id_table = lp872x_ids,
}; };
......
...@@ -442,7 +442,7 @@ static struct i2c_driver lp8755_i2c_driver = { ...@@ -442,7 +442,7 @@ static struct i2c_driver lp8755_i2c_driver = {
.name = LP8755_NAME, .name = LP8755_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = lp8755_probe, .probe = lp8755_probe,
.remove = lp8755_remove, .remove = lp8755_remove,
.id_table = lp8755_id, .id_table = lp8755_id,
}; };
......
...@@ -477,7 +477,7 @@ static struct i2c_driver ltc3589_driver = { ...@@ -477,7 +477,7 @@ static struct i2c_driver ltc3589_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(ltc3589_of_match), .of_match_table = of_match_ptr(ltc3589_of_match),
}, },
.probe_new = ltc3589_probe, .probe = ltc3589_probe,
.id_table = ltc3589_i2c_id, .id_table = ltc3589_i2c_id,
}; };
module_i2c_driver(ltc3589_driver); module_i2c_driver(ltc3589_driver);
......
...@@ -374,7 +374,7 @@ static struct i2c_driver ltc3676_driver = { ...@@ -374,7 +374,7 @@ static struct i2c_driver ltc3676_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(ltc3676_of_match), .of_match_table = of_match_ptr(ltc3676_of_match),
}, },
.probe_new = ltc3676_regulator_probe, .probe = ltc3676_regulator_probe,
.id_table = ltc3676_i2c_id, .id_table = ltc3676_i2c_id,
}; };
module_i2c_driver(ltc3676_driver); module_i2c_driver(ltc3676_driver);
......
...@@ -289,7 +289,7 @@ static const struct i2c_device_id max1586_id[] = { ...@@ -289,7 +289,7 @@ static const struct i2c_device_id max1586_id[] = {
MODULE_DEVICE_TABLE(i2c, max1586_id); MODULE_DEVICE_TABLE(i2c, max1586_id);
static struct i2c_driver max1586_pmic_driver = { static struct i2c_driver max1586_pmic_driver = {
.probe_new = max1586_pmic_probe, .probe = max1586_pmic_probe,
.driver = { .driver = {
.name = "max1586", .name = "max1586",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
......
...@@ -323,7 +323,7 @@ static struct i2c_driver max20086_regulator_driver = { ...@@ -323,7 +323,7 @@ static struct i2c_driver max20086_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(max20086_dt_ids), .of_match_table = of_match_ptr(max20086_dt_ids),
}, },
.probe_new = max20086_i2c_probe, .probe = max20086_i2c_probe,
.id_table = max20086_i2c_id, .id_table = max20086_i2c_id,
}; };
......
...@@ -156,7 +156,7 @@ static struct i2c_driver max20411_i2c_driver = { ...@@ -156,7 +156,7 @@ static struct i2c_driver max20411_i2c_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_max20411_match_tbl, .of_match_table = of_max20411_match_tbl,
}, },
.probe_new = max20411_probe, .probe = max20411_probe,
.id_table = max20411_id, .id_table = max20411_id,
}; };
module_i2c_driver(max20411_i2c_driver); module_i2c_driver(max20411_i2c_driver);
......
...@@ -292,7 +292,7 @@ static struct i2c_driver max77826_regulator_driver = { ...@@ -292,7 +292,7 @@ static struct i2c_driver max77826_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(max77826_of_match), .of_match_table = of_match_ptr(max77826_of_match),
}, },
.probe_new = max77826_i2c_probe, .probe = max77826_i2c_probe,
.id_table = max77826_id, .id_table = max77826_id,
}; };
module_i2c_driver(max77826_regulator_driver); module_i2c_driver(max77826_regulator_driver);
......
...@@ -246,7 +246,7 @@ static const struct i2c_device_id max8649_id[] = { ...@@ -246,7 +246,7 @@ static const struct i2c_device_id max8649_id[] = {
MODULE_DEVICE_TABLE(i2c, max8649_id); MODULE_DEVICE_TABLE(i2c, max8649_id);
static struct i2c_driver max8649_driver = { static struct i2c_driver max8649_driver = {
.probe_new = max8649_regulator_probe, .probe = max8649_regulator_probe,
.driver = { .driver = {
.name = "max8649", .name = "max8649",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
......
...@@ -503,7 +503,7 @@ static const struct i2c_device_id max8660_id[] = { ...@@ -503,7 +503,7 @@ static const struct i2c_device_id max8660_id[] = {
MODULE_DEVICE_TABLE(i2c, max8660_id); MODULE_DEVICE_TABLE(i2c, max8660_id);
static struct i2c_driver max8660_driver = { static struct i2c_driver max8660_driver = {
.probe_new = max8660_probe, .probe = max8660_probe,
.driver = { .driver = {
.name = "max8660", .name = "max8660",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
......
...@@ -168,7 +168,7 @@ static const struct i2c_device_id max8893_ids[] = { ...@@ -168,7 +168,7 @@ static const struct i2c_device_id max8893_ids[] = {
MODULE_DEVICE_TABLE(i2c, max8893_ids); MODULE_DEVICE_TABLE(i2c, max8893_ids);
static struct i2c_driver max8893_driver = { static struct i2c_driver max8893_driver = {
.probe_new = max8893_probe_new, .probe = max8893_probe_new,
.driver = { .driver = {
.name = "max8893", .name = "max8893",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
......
...@@ -313,7 +313,7 @@ static const struct i2c_device_id max8952_ids[] = { ...@@ -313,7 +313,7 @@ static const struct i2c_device_id max8952_ids[] = {
MODULE_DEVICE_TABLE(i2c, max8952_ids); MODULE_DEVICE_TABLE(i2c, max8952_ids);
static struct i2c_driver max8952_pmic_driver = { static struct i2c_driver max8952_pmic_driver = {
.probe_new = max8952_pmic_probe, .probe = max8952_pmic_probe,
.driver = { .driver = {
.name = "max8952", .name = "max8952",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
......
...@@ -807,7 +807,7 @@ static struct i2c_driver max8973_i2c_driver = { ...@@ -807,7 +807,7 @@ static struct i2c_driver max8973_i2c_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_max8973_match_tbl, .of_match_table = of_max8973_match_tbl,
}, },
.probe_new = max8973_probe, .probe = max8973_probe,
.id_table = max8973_id, .id_table = max8973_id,
}; };
......
...@@ -584,7 +584,7 @@ static const struct i2c_device_id mcp16502_i2c_id[] = { ...@@ -584,7 +584,7 @@ static const struct i2c_device_id mcp16502_i2c_id[] = {
MODULE_DEVICE_TABLE(i2c, mcp16502_i2c_id); MODULE_DEVICE_TABLE(i2c, mcp16502_i2c_id);
static struct i2c_driver mcp16502_drv = { static struct i2c_driver mcp16502_drv = {
.probe_new = mcp16502_probe, .probe = mcp16502_probe,
.driver = { .driver = {
.name = "mcp16502-regulator", .name = "mcp16502-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
......
...@@ -240,7 +240,7 @@ static struct i2c_driver mp5416_regulator_driver = { ...@@ -240,7 +240,7 @@ static struct i2c_driver mp5416_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mp5416_of_match), .of_match_table = of_match_ptr(mp5416_of_match),
}, },
.probe_new = mp5416_i2c_probe, .probe = mp5416_i2c_probe,
.id_table = mp5416_id, .id_table = mp5416_id,
}; };
module_i2c_driver(mp5416_regulator_driver); module_i2c_driver(mp5416_regulator_driver);
......
...@@ -147,7 +147,7 @@ static struct i2c_driver mp8859_regulator_driver = { ...@@ -147,7 +147,7 @@ static struct i2c_driver mp8859_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mp8859_dt_id), .of_match_table = of_match_ptr(mp8859_dt_id),
}, },
.probe_new = mp8859_i2c_probe, .probe = mp8859_i2c_probe,
.id_table = mp8859_i2c_id, .id_table = mp8859_i2c_id,
}; };
......
...@@ -365,7 +365,7 @@ static struct i2c_driver mp886x_regulator_driver = { ...@@ -365,7 +365,7 @@ static struct i2c_driver mp886x_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = mp886x_dt_ids, .of_match_table = mp886x_dt_ids,
}, },
.probe_new = mp886x_i2c_probe, .probe = mp886x_i2c_probe,
.id_table = mp886x_id, .id_table = mp886x_id,
}; };
module_i2c_driver(mp886x_regulator_driver); module_i2c_driver(mp886x_regulator_driver);
......
...@@ -321,7 +321,7 @@ static struct i2c_driver mpq7920_regulator_driver = { ...@@ -321,7 +321,7 @@ static struct i2c_driver mpq7920_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mpq7920_of_match), .of_match_table = of_match_ptr(mpq7920_of_match),
}, },
.probe_new = mpq7920_i2c_probe, .probe = mpq7920_i2c_probe,
.id_table = mpq7920_id, .id_table = mpq7920_id,
}; };
module_i2c_driver(mpq7920_regulator_driver); module_i2c_driver(mpq7920_regulator_driver);
......
...@@ -154,7 +154,7 @@ static struct i2c_driver mt6311_regulator_driver = { ...@@ -154,7 +154,7 @@ static struct i2c_driver mt6311_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mt6311_dt_ids), .of_match_table = of_match_ptr(mt6311_dt_ids),
}, },
.probe_new = mt6311_i2c_probe, .probe = mt6311_i2c_probe,
.id_table = mt6311_i2c_id, .id_table = mt6311_i2c_id,
}; };
......
...@@ -875,7 +875,7 @@ static struct i2c_driver pca9450_i2c_driver = { ...@@ -875,7 +875,7 @@ static struct i2c_driver pca9450_i2c_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = pca9450_of_match, .of_match_table = pca9450_of_match,
}, },
.probe_new = pca9450_i2c_probe, .probe = pca9450_i2c_probe,
}; };
module_i2c_driver(pca9450_i2c_driver); module_i2c_driver(pca9450_i2c_driver);
......
...@@ -610,7 +610,7 @@ static struct i2c_driver pf8x00_regulator_driver = { ...@@ -610,7 +610,7 @@ static struct i2c_driver pf8x00_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = pf8x00_dt_ids, .of_match_table = pf8x00_dt_ids,
}, },
.probe_new = pf8x00_i2c_probe, .probe = pf8x00_i2c_probe,
}; };
module_i2c_driver(pf8x00_regulator_driver); module_i2c_driver(pf8x00_regulator_driver);
......
...@@ -848,7 +848,7 @@ static struct i2c_driver pfuze_driver = { ...@@ -848,7 +848,7 @@ static struct i2c_driver pfuze_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = pfuze_dt_ids, .of_match_table = pfuze_dt_ids,
}, },
.probe_new = pfuze100_regulator_probe, .probe = pfuze100_regulator_probe,
}; };
module_i2c_driver(pfuze_driver); module_i2c_driver(pfuze_driver);
......
...@@ -379,7 +379,7 @@ static struct i2c_driver pv88060_regulator_driver = { ...@@ -379,7 +379,7 @@ static struct i2c_driver pv88060_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(pv88060_dt_ids), .of_match_table = of_match_ptr(pv88060_dt_ids),
}, },
.probe_new = pv88060_i2c_probe, .probe = pv88060_i2c_probe,
.id_table = pv88060_i2c_id, .id_table = pv88060_i2c_id,
}; };
......
...@@ -560,7 +560,7 @@ static struct i2c_driver pv88080_regulator_driver = { ...@@ -560,7 +560,7 @@ static struct i2c_driver pv88080_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(pv88080_dt_ids), .of_match_table = of_match_ptr(pv88080_dt_ids),
}, },
.probe_new = pv88080_i2c_probe, .probe = pv88080_i2c_probe,
.id_table = pv88080_i2c_id, .id_table = pv88080_i2c_id,
}; };
......
...@@ -400,7 +400,7 @@ static struct i2c_driver pv88090_regulator_driver = { ...@@ -400,7 +400,7 @@ static struct i2c_driver pv88090_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(pv88090_dt_ids), .of_match_table = of_match_ptr(pv88090_dt_ids),
}, },
.probe_new = pv88090_i2c_probe, .probe = pv88090_i2c_probe,
.id_table = pv88090_i2c_id, .id_table = pv88090_i2c_id,
}; };
......
...@@ -399,7 +399,7 @@ static struct i2c_driver attiny_regulator_driver = { ...@@ -399,7 +399,7 @@ static struct i2c_driver attiny_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(attiny_dt_ids), .of_match_table = of_match_ptr(attiny_dt_ids),
}, },
.probe_new = attiny_i2c_probe, .probe = attiny_i2c_probe,
.remove = attiny_i2c_remove, .remove = attiny_i2c_remove,
}; };
......
...@@ -242,7 +242,7 @@ static struct i2c_driver rt4801_driver = { ...@@ -242,7 +242,7 @@ static struct i2c_driver rt4801_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(rt4801_of_id), .of_match_table = of_match_ptr(rt4801_of_id),
}, },
.probe_new = rt4801_probe, .probe = rt4801_probe,
}; };
module_i2c_driver(rt4801_driver); module_i2c_driver(rt4801_driver);
......
...@@ -508,7 +508,7 @@ static struct i2c_driver rt5190a_driver = { ...@@ -508,7 +508,7 @@ static struct i2c_driver rt5190a_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = rt5190a_device_table, .of_match_table = rt5190a_device_table,
}, },
.probe_new = rt5190a_probe, .probe = rt5190a_probe,
}; };
module_i2c_driver(rt5190a_driver); module_i2c_driver(rt5190a_driver);
......
...@@ -362,7 +362,7 @@ static struct i2c_driver rt5759_driver = { ...@@ -362,7 +362,7 @@ static struct i2c_driver rt5759_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(rt5759_device_table), .of_match_table = of_match_ptr(rt5759_device_table),
}, },
.probe_new = rt5759_probe, .probe = rt5759_probe,
}; };
module_i2c_driver(rt5759_driver); module_i2c_driver(rt5759_driver);
......
...@@ -311,7 +311,7 @@ static struct i2c_driver rt6160_driver = { ...@@ -311,7 +311,7 @@ static struct i2c_driver rt6160_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = rt6160_of_match_table, .of_match_table = rt6160_of_match_table,
}, },
.probe_new = rt6160_probe, .probe = rt6160_probe,
}; };
module_i2c_driver(rt6160_driver); module_i2c_driver(rt6160_driver);
......
...@@ -487,7 +487,7 @@ static struct i2c_driver rt6190_driver = { ...@@ -487,7 +487,7 @@ static struct i2c_driver rt6190_driver = {
.of_match_table = rt6190_of_dev_table, .of_match_table = rt6190_of_dev_table,
.pm = pm_ptr(&rt6190_dev_pm), .pm = pm_ptr(&rt6190_dev_pm),
}, },
.probe_new = rt6190_probe, .probe = rt6190_probe,
}; };
module_i2c_driver(rt6190_driver); module_i2c_driver(rt6190_driver);
......
...@@ -246,7 +246,7 @@ static struct i2c_driver rt6245_driver = { ...@@ -246,7 +246,7 @@ static struct i2c_driver rt6245_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = rt6245_of_match_table, .of_match_table = rt6245_of_match_table,
}, },
.probe_new = rt6245_probe, .probe = rt6245_probe,
}; };
module_i2c_driver(rt6245_driver); module_i2c_driver(rt6245_driver);
......
...@@ -429,7 +429,7 @@ static struct i2c_driver rtmv20_driver = { ...@@ -429,7 +429,7 @@ static struct i2c_driver rtmv20_driver = {
.of_match_table = of_match_ptr(rtmv20_of_id), .of_match_table = of_match_ptr(rtmv20_of_id),
.pm = &rtmv20_pm, .pm = &rtmv20_pm,
}, },
.probe_new = rtmv20_probe, .probe = rtmv20_probe,
}; };
module_i2c_driver(rtmv20_driver); module_i2c_driver(rtmv20_driver);
......
...@@ -366,7 +366,7 @@ static struct i2c_driver rtq2134_driver = { ...@@ -366,7 +366,7 @@ static struct i2c_driver rtq2134_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = rtq2134_device_tables, .of_match_table = rtq2134_device_tables,
}, },
.probe_new = rtq2134_probe, .probe = rtq2134_probe,
}; };
module_i2c_driver(rtq2134_driver); module_i2c_driver(rtq2134_driver);
......
...@@ -281,7 +281,7 @@ static struct i2c_driver rtq6752_driver = { ...@@ -281,7 +281,7 @@ static struct i2c_driver rtq6752_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = rtq6752_device_table, .of_match_table = rtq6752_device_table,
}, },
.probe_new = rtq6752_probe, .probe = rtq6752_probe,
}; };
module_i2c_driver(rtq6752_driver); module_i2c_driver(rtq6752_driver);
......
...@@ -507,7 +507,7 @@ static struct i2c_driver slg51000_regulator_driver = { ...@@ -507,7 +507,7 @@ static struct i2c_driver slg51000_regulator_driver = {
.name = "slg51000-regulator", .name = "slg51000-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = slg51000_i2c_probe, .probe = slg51000_i2c_probe,
.id_table = slg51000_i2c_id, .id_table = slg51000_i2c_id,
}; };
......
...@@ -141,7 +141,7 @@ static struct i2c_driver sy8106a_regulator_driver = { ...@@ -141,7 +141,7 @@ static struct i2c_driver sy8106a_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sy8106a_i2c_of_match, .of_match_table = sy8106a_i2c_of_match,
}, },
.probe_new = sy8106a_i2c_probe, .probe = sy8106a_i2c_probe,
.id_table = sy8106a_i2c_id, .id_table = sy8106a_i2c_id,
}; };
......
...@@ -236,7 +236,7 @@ static struct i2c_driver sy8824_regulator_driver = { ...@@ -236,7 +236,7 @@ static struct i2c_driver sy8824_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sy8824_dt_ids, .of_match_table = sy8824_dt_ids,
}, },
.probe_new = sy8824_i2c_probe, .probe = sy8824_i2c_probe,
.id_table = sy8824_id, .id_table = sy8824_id,
}; };
module_i2c_driver(sy8824_regulator_driver); module_i2c_driver(sy8824_regulator_driver);
......
...@@ -190,7 +190,7 @@ static struct i2c_driver sy8827n_regulator_driver = { ...@@ -190,7 +190,7 @@ static struct i2c_driver sy8827n_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sy8827n_dt_ids, .of_match_table = sy8827n_dt_ids,
}, },
.probe_new = sy8827n_i2c_probe, .probe = sy8827n_i2c_probe,
.id_table = sy8827n_id, .id_table = sy8827n_id,
}; };
module_i2c_driver(sy8827n_regulator_driver); module_i2c_driver(sy8827n_regulator_driver);
......
...@@ -354,7 +354,7 @@ static struct i2c_driver tps51632_i2c_driver = { ...@@ -354,7 +354,7 @@ static struct i2c_driver tps51632_i2c_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(tps51632_of_match), .of_match_table = of_match_ptr(tps51632_of_match),
}, },
.probe_new = tps51632_probe, .probe = tps51632_probe,
.id_table = tps51632_id, .id_table = tps51632_id,
}; };
......
...@@ -491,7 +491,7 @@ static struct i2c_driver tps62360_i2c_driver = { ...@@ -491,7 +491,7 @@ static struct i2c_driver tps62360_i2c_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(tps62360_of_match), .of_match_table = of_match_ptr(tps62360_of_match),
}, },
.probe_new = tps62360_probe, .probe = tps62360_probe,
.shutdown = tps62360_shutdown, .shutdown = tps62360_shutdown,
.id_table = tps62360_id, .id_table = tps62360_id,
}; };
......
...@@ -150,7 +150,7 @@ static struct i2c_driver tps6286x_regulator_driver = { ...@@ -150,7 +150,7 @@ static struct i2c_driver tps6286x_regulator_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(tps6286x_dt_ids), .of_match_table = of_match_ptr(tps6286x_dt_ids),
}, },
.probe_new = tps6286x_i2c_probe, .probe = tps6286x_i2c_probe,
.id_table = tps6286x_i2c_id, .id_table = tps6286x_i2c_id,
}; };
......
...@@ -337,7 +337,7 @@ static struct i2c_driver tps_65023_i2c_driver = { ...@@ -337,7 +337,7 @@ static struct i2c_driver tps_65023_i2c_driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(tps65023_of_match), .of_match_table = of_match_ptr(tps65023_of_match),
}, },
.probe_new = tps_65023_probe, .probe = tps_65023_probe,
.id_table = tps_65023_id, .id_table = tps_65023_id,
}; };
......
...@@ -272,7 +272,7 @@ static struct i2c_driver tps65132_i2c_driver = { ...@@ -272,7 +272,7 @@ static struct i2c_driver tps65132_i2c_driver = {
.name = "tps65132", .name = "tps65132",
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = tps65132_probe, .probe = tps65132_probe,
.id_table = tps65132_id, .id_table = tps65132_id,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment