mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 09:12:07 +00:00
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.10 and 5.15
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.10 but did exist in Linux 5.15. Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20230316125351.5.Ia0e6d859bdfe42ea5c187fb1eb4705c1b5ea23a1@changeid Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
67dc71c61b
commit
46600ab142
@ -530,6 +530,7 @@ static struct platform_driver atc260x_regulator_driver = {
|
|||||||
.probe = atc260x_regulator_probe,
|
.probe = atc260x_regulator_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "atc260x-regulator",
|
.name = "atc260x-regulator",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -619,6 +619,7 @@ MODULE_DEVICE_TABLE(platform, bd7181x_pmic_id);
|
|||||||
static struct platform_driver bd7181x_regulator = {
|
static struct platform_driver bd7181x_regulator = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bd7181x-pmic",
|
.name = "bd7181x-pmic",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
},
|
},
|
||||||
.probe = bd7181x_probe,
|
.probe = bd7181x_probe,
|
||||||
.id_table = bd7181x_pmic_id,
|
.id_table = bd7181x_pmic_id,
|
||||||
|
@ -1194,6 +1194,7 @@ MODULE_DEVICE_TABLE(i2c, da9121_i2c_id);
|
|||||||
static struct i2c_driver da9121_regulator_driver = {
|
static struct i2c_driver da9121_regulator_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "da9121",
|
.name = "da9121",
|
||||||
|
.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_new = da9121_i2c_probe,
|
||||||
|
@ -284,6 +284,7 @@ static struct platform_driver hi6421_spmi_regulator_driver = {
|
|||||||
.id_table = hi6421_spmi_regulator_table,
|
.id_table = hi6421_spmi_regulator_table,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "hi6421v600-regulator",
|
.name = "hi6421v600-regulator",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
},
|
},
|
||||||
.probe = hi6421_spmi_regulator_probe,
|
.probe = hi6421_spmi_regulator_probe,
|
||||||
};
|
};
|
||||||
|
@ -171,6 +171,7 @@ static struct i2c_driver max8893_driver = {
|
|||||||
.probe_new = max8893_probe_new,
|
.probe_new = max8893_probe_new,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "max8893",
|
.name = "max8893",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = of_match_ptr(max8893_dt_match),
|
.of_match_table = of_match_ptr(max8893_dt_match),
|
||||||
},
|
},
|
||||||
.id_table = max8893_ids,
|
.id_table = max8893_ids,
|
||||||
|
@ -287,6 +287,7 @@ static void mt6315_regulator_shutdown(struct spmi_device *pdev)
|
|||||||
static struct spmi_driver mt6315_regulator_driver = {
|
static struct spmi_driver mt6315_regulator_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mt6315-regulator",
|
.name = "mt6315-regulator",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = mt6315_of_match,
|
.of_match_table = mt6315_of_match,
|
||||||
},
|
},
|
||||||
.probe = mt6315_regulator_probe,
|
.probe = mt6315_regulator_probe,
|
||||||
|
@ -982,6 +982,7 @@ MODULE_DEVICE_TABLE(platform, mt6359_platform_ids);
|
|||||||
static struct platform_driver mt6359_regulator_driver = {
|
static struct platform_driver mt6359_regulator_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mt6359-regulator",
|
.name = "mt6359-regulator",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
},
|
},
|
||||||
.probe = mt6359_regulator_probe,
|
.probe = mt6359_regulator_probe,
|
||||||
.id_table = mt6359_platform_ids,
|
.id_table = mt6359_platform_ids,
|
||||||
|
@ -194,6 +194,7 @@ static int dvfsrc_vcore_regulator_probe(struct platform_device *pdev)
|
|||||||
static struct platform_driver mtk_dvfsrc_regulator_driver = {
|
static struct platform_driver mtk_dvfsrc_regulator_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mtk-dvfsrc-regulator",
|
.name = "mtk-dvfsrc-regulator",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
},
|
},
|
||||||
.probe = dvfsrc_vcore_regulator_probe,
|
.probe = dvfsrc_vcore_regulator_probe,
|
||||||
};
|
};
|
||||||
|
@ -607,6 +607,7 @@ static struct i2c_driver pf8x00_regulator_driver = {
|
|||||||
.id_table = pf8x00_i2c_id,
|
.id_table = pf8x00_i2c_id,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pf8x00",
|
.name = "pf8x00",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = pf8x00_dt_ids,
|
.of_match_table = pf8x00_dt_ids,
|
||||||
},
|
},
|
||||||
.probe_new = pf8x00_i2c_probe,
|
.probe_new = pf8x00_i2c_probe,
|
||||||
|
@ -194,6 +194,7 @@ MODULE_DEVICE_TABLE(platform, rt4831_regulator_match);
|
|||||||
static struct platform_driver rt4831_regulator_driver = {
|
static struct platform_driver rt4831_regulator_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rt4831-regulator",
|
.name = "rt4831-regulator",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
},
|
},
|
||||||
.id_table = rt4831_regulator_match,
|
.id_table = rt4831_regulator_match,
|
||||||
.probe = rt4831_regulator_probe,
|
.probe = rt4831_regulator_probe,
|
||||||
|
@ -308,6 +308,7 @@ MODULE_DEVICE_TABLE(of, rt6160_of_match_table);
|
|||||||
static struct i2c_driver rt6160_driver = {
|
static struct i2c_driver rt6160_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rt6160",
|
.name = "rt6160",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = rt6160_of_match_table,
|
.of_match_table = rt6160_of_match_table,
|
||||||
},
|
},
|
||||||
.probe_new = rt6160_probe,
|
.probe_new = rt6160_probe,
|
||||||
|
@ -243,6 +243,7 @@ MODULE_DEVICE_TABLE(of, rt6245_of_match_table);
|
|||||||
static struct i2c_driver rt6245_driver = {
|
static struct i2c_driver rt6245_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rt6245",
|
.name = "rt6245",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = rt6245_of_match_table,
|
.of_match_table = rt6245_of_match_table,
|
||||||
},
|
},
|
||||||
.probe_new = rt6245_probe,
|
.probe_new = rt6245_probe,
|
||||||
|
@ -363,6 +363,7 @@ MODULE_DEVICE_TABLE(of, rtq2134_device_tables);
|
|||||||
static struct i2c_driver rtq2134_driver = {
|
static struct i2c_driver rtq2134_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rtq2134",
|
.name = "rtq2134",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = rtq2134_device_tables,
|
.of_match_table = rtq2134_device_tables,
|
||||||
},
|
},
|
||||||
.probe_new = rtq2134_probe,
|
.probe_new = rtq2134_probe,
|
||||||
|
@ -278,6 +278,7 @@ MODULE_DEVICE_TABLE(of, rtq6752_device_table);
|
|||||||
static struct i2c_driver rtq6752_driver = {
|
static struct i2c_driver rtq6752_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rtq6752",
|
.name = "rtq6752",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = rtq6752_device_table,
|
.of_match_table = rtq6752_device_table,
|
||||||
},
|
},
|
||||||
.probe_new = rtq6752_probe,
|
.probe_new = rtq6752_probe,
|
||||||
|
@ -127,6 +127,7 @@ MODULE_DEVICE_TABLE(platform, sy7636a_regulator_id_table);
|
|||||||
static struct platform_driver sy7636a_regulator_driver = {
|
static struct platform_driver sy7636a_regulator_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sy7636a-regulator",
|
.name = "sy7636a-regulator",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
},
|
},
|
||||||
.probe = sy7636a_regulator_probe,
|
.probe = sy7636a_regulator_probe,
|
||||||
.id_table = sy7636a_regulator_id_table,
|
.id_table = sy7636a_regulator_id_table,
|
||||||
|
Loading…
Reference in New Issue
Block a user