summaryrefslogtreecommitdiff
path: root/drivers/regulator/sc2731-regulator.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2023-03-16 12:54:39 -0700
committerMark Brown <broonie@kernel.org>2023-03-20 13:11:26 +0000
commited6962cc3e05ca77f526590f62587678149d5e58 (patch)
tree9e16d8c84d874c219f07e12af2595be8f766d86a /drivers/regulator/sc2731-regulator.c
parent259b93b21a9ffe5117af4dfb5505437e463c6a5a (diff)
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.14 and 4.19
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 4.14 but did exist in Linux 4.19. NOTE: from a quick "git cherry-pick" it looks as if "bd718x7-regulator.c" didn't actually exist in v4.19. In 4.19 it was named "bd71837-regulator.c". See commit 2ece646c90c5 ("regulator: bd718xx: rename bd71837 to 718xx") Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20230316125351.2.Iad1f25517bb46a6c7fca8d8c80ed4fc258a79ed9@changeid Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/sc2731-regulator.c')
-rw-r--r--drivers/regulator/sc2731-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/sc2731-regulator.c b/drivers/regulator/sc2731-regulator.c
index 71e5ceb679f4..5447e1a47d15 100644
--- a/drivers/regulator/sc2731-regulator.c
+++ b/drivers/regulator/sc2731-regulator.c
@@ -245,6 +245,7 @@ static int sc2731_regulator_probe(struct platform_device *pdev)
static struct platform_driver sc2731_regulator_driver = {
.driver = {
.name = "sc27xx-regulator",
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
},
.probe = sc2731_regulator_probe,
};