Commit 41cff178 authored by Douglas Anderson's avatar Douglas Anderson Committed by Mark Brown

regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.15 and 6.1

This follows on the change ("regulator: Set PROBE_PREFER_ASYNCHRONOUS
for drivers that existed in 4.14") but changes regulators didn't exist
in Linux 5.15 but did exist in Linux 6.1.
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20230316125351.6.Ibc8a86ddd5055ebbbe487a529199db7b36ccad1a@changeidSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 46600ab1
...@@ -320,6 +320,7 @@ MODULE_DEVICE_TABLE(of, max20086_dt_ids); ...@@ -320,6 +320,7 @@ MODULE_DEVICE_TABLE(of, max20086_dt_ids);
static struct i2c_driver max20086_regulator_driver = { static struct i2c_driver max20086_regulator_driver = {
.driver = { .driver = {
.name = "max20086", .name = "max20086",
.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_new = max20086_i2c_probe,
......
...@@ -501,6 +501,7 @@ static int max597x_regulator_probe(struct platform_device *pdev) ...@@ -501,6 +501,7 @@ static int max597x_regulator_probe(struct platform_device *pdev)
static struct platform_driver max597x_regulator_driver = { static struct platform_driver max597x_regulator_driver = {
.driver = { .driver = {
.name = "max597x-regulator", .name = "max597x-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = max597x_regulator_probe, .probe = max597x_regulator_probe,
}; };
......
...@@ -495,6 +495,7 @@ MODULE_DEVICE_TABLE(platform, mt6331_platform_ids); ...@@ -495,6 +495,7 @@ MODULE_DEVICE_TABLE(platform, mt6331_platform_ids);
static struct platform_driver mt6331_regulator_driver = { static struct platform_driver mt6331_regulator_driver = {
.driver = { .driver = {
.name = "mt6331-regulator", .name = "mt6331-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = mt6331_regulator_probe, .probe = mt6331_regulator_probe,
.id_table = mt6331_platform_ids, .id_table = mt6331_platform_ids,
......
...@@ -410,6 +410,7 @@ MODULE_DEVICE_TABLE(platform, mt6332_platform_ids); ...@@ -410,6 +410,7 @@ MODULE_DEVICE_TABLE(platform, mt6332_platform_ids);
static struct platform_driver mt6332_regulator_driver = { static struct platform_driver mt6332_regulator_driver = {
.driver = { .driver = {
.name = "mt6332-regulator", .name = "mt6332-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = mt6332_regulator_probe, .probe = mt6332_regulator_probe,
.id_table = mt6332_platform_ids, .id_table = mt6332_platform_ids,
......
...@@ -379,6 +379,7 @@ MODULE_DEVICE_TABLE(platform, mt6370_devid_table); ...@@ -379,6 +379,7 @@ MODULE_DEVICE_TABLE(platform, mt6370_devid_table);
static struct platform_driver mt6370_regulator_driver = { static struct platform_driver mt6370_regulator_driver = {
.driver = { .driver = {
.name = "mt6370-regulator", .name = "mt6370-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.id_table = mt6370_devid_table, .id_table = mt6370_devid_table,
.probe = mt6370_regulator_probe, .probe = mt6370_regulator_probe,
......
...@@ -409,6 +409,7 @@ MODULE_DEVICE_TABLE(platform, rt5120_regulator_dev_table); ...@@ -409,6 +409,7 @@ MODULE_DEVICE_TABLE(platform, rt5120_regulator_dev_table);
static struct platform_driver rt5120_regulator_driver = { static struct platform_driver rt5120_regulator_driver = {
.driver = { .driver = {
.name = "rt5120-regulator", .name = "rt5120-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.id_table = rt5120_regulator_dev_table, .id_table = rt5120_regulator_dev_table,
.probe = rt5120_regulator_probe, .probe = rt5120_regulator_probe,
......
...@@ -505,6 +505,7 @@ MODULE_DEVICE_TABLE(of, rt5190a_device_table); ...@@ -505,6 +505,7 @@ MODULE_DEVICE_TABLE(of, rt5190a_device_table);
static struct i2c_driver rt5190a_driver = { static struct i2c_driver rt5190a_driver = {
.driver = { .driver = {
.name = "rt5190a", .name = "rt5190a",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = rt5190a_device_table, .of_match_table = rt5190a_device_table,
}, },
.probe_new = rt5190a_probe, .probe_new = rt5190a_probe,
......
...@@ -359,6 +359,7 @@ MODULE_DEVICE_TABLE(of, rt5759_device_table); ...@@ -359,6 +359,7 @@ MODULE_DEVICE_TABLE(of, rt5759_device_table);
static struct i2c_driver rt5759_driver = { static struct i2c_driver rt5759_driver = {
.driver = { .driver = {
.name = "rt5759", .name = "rt5759",
.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_new = rt5759_probe,
......
...@@ -155,6 +155,7 @@ MODULE_DEVICE_TABLE(platform, sm5703_regulator_id); ...@@ -155,6 +155,7 @@ MODULE_DEVICE_TABLE(platform, sm5703_regulator_id);
static struct platform_driver sm5703_regulator_driver = { static struct platform_driver sm5703_regulator_driver = {
.driver = { .driver = {
.name = "sm5703-regulator", .name = "sm5703-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = sm5703_regulator_probe, .probe = sm5703_regulator_probe,
.id_table = sm5703_regulator_id, .id_table = sm5703_regulator_id,
......
...@@ -147,6 +147,7 @@ MODULE_DEVICE_TABLE(i2c, tps6286x_i2c_id); ...@@ -147,6 +147,7 @@ MODULE_DEVICE_TABLE(i2c, tps6286x_i2c_id);
static struct i2c_driver tps6286x_regulator_driver = { static struct i2c_driver tps6286x_regulator_driver = {
.driver = { .driver = {
.name = "tps6286x", .name = "tps6286x",
.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_new = tps6286x_i2c_probe,
......
...@@ -380,6 +380,7 @@ MODULE_DEVICE_TABLE(platform, tps65219_regulator_id_table); ...@@ -380,6 +380,7 @@ MODULE_DEVICE_TABLE(platform, tps65219_regulator_id_table);
static struct platform_driver tps65219_regulator_driver = { static struct platform_driver tps65219_regulator_driver = {
.driver = { .driver = {
.name = "tps65219-pmic", .name = "tps65219-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = tps65219_regulator_probe, .probe = tps65219_regulator_probe,
.id_table = tps65219_regulator_id_table, .id_table = tps65219_regulator_id_table,
......
...@@ -175,6 +175,7 @@ static int tps68470_regulator_probe(struct platform_device *pdev) ...@@ -175,6 +175,7 @@ static int tps68470_regulator_probe(struct platform_device *pdev)
static struct platform_driver tps68470_regulator_driver = { static struct platform_driver tps68470_regulator_driver = {
.driver = { .driver = {
.name = "tps68470-regulator", .name = "tps68470-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = tps68470_regulator_probe, .probe = tps68470_regulator_probe,
}; };
......
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