Commit 02ce28bc authored by Mark Brown's avatar Mark Brown

regulator: Set PROBE_PREFER_ASYNCHRONOUS for

Merge series from Douglas Anderson <dianders@chromium.org>:

This series directly follows from the discussion when I tried to turn
on PROBE_PREFER_ASYNCHRONOUS just for the fixed-regulator [1] and
attempts to switch everything in drivers/regulator over to async
probe.

Like the similar patch series I did for the MMC subsystem a few years
ago [2], I've split this patch series into batches corresponding to
drivers corresponding to actively maintained stable kernel trees with
the idea to break the patch series up somewhat.

Most of the description of this series is contained in the first patch
of the series and then the further patches simply refer back to the
first one. The logic and reasoning behind all the patches is exactly
the same.

As talked about in the first patch, it wouldn't be at all shocking if
this broke someone. Hopefully this doesn't cause too much of a
problem. Most of the problems expected would be real underlying bugs
that already existed and were just tickled by this change. If you're
facing a problem, it's fairly easy to force individual drivers back to
"synchronous" probing while the problem is tracked down and fixed.

I am opting _not_ to CC every single person involved in each of these
regulators on this patch series because I suspect that the mailing
lists couldn't handle CCing that many people. This should be on LKML
so hopefully people can find it there and respond to it that
way. Anyone who responds will get CCed on future versions, if there
are any.

For reference, the ugly script I used is here:
  import os
  import re

  for filename in os.listdir("."):
      found_subsys = False
      found_driver = False
      output = []
      for line in open(filename, "r").readlines():
          if "struct platform_driver" in line or \
             "struct i2c_driver" in line or \
             "struct spmi_driver" in line or \
             "struct spi_driver" in line:
              found_subsys = True
          if found_subsys and re.search(r"\t\.driver\s*=\s*{", line):
              found_driver = True
              found_subsys = False
          mo = re.search(r"(\s*)\.name(\s*)=", line)
          if found_driver and mo:
              if not line.endswith(",\n"):
                  line = line[:-1] + ",\n"
              output.append(line)

              if mo.group(2) == " ":
                  space = " "
              elif mo.group(2) == "\t":
                  # Best we can do
                  space = " "
              elif mo.group(2).startswith("\t"):
                  # Guess that removing one tab is right
                  space = mo.group(2)[1:]
              else:
                  # Guess it's all spaces
                  space = mo.group(2)[7:] + " "

              output.append("%s.probe_type%s= PROBE_PREFER_ASYNCHRONOUS,\n" % (mo.group(1), space))
              found_driver = False
          else:
              output.append(line)

      open(filename, "w").write("".join(output))

I manually split drivers up into groups based on the kernel they were
introduced in.

I've run a compile test against "allyesconfig" on amd64, arm32, and
arm64 with this and confirmed it compiled. I've booted this on a
sc7180-trogdor-lazor board and confirmed it booted OK and got the boot
speed improvements I expected and that dmesg was as expected.

[1] https://lore.kernel.org/r/06db017f-e985-4434-8d1d-02ca2100cca0@sirena.org.uk
[2] https://lore.kernel.org/r/20200903232441.2694866-1-dianders@chromium.org/

Douglas Anderson (7):
  regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in
    4.14
  regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.14 and
    4.19
  regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.19 and
    5.4
  regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.4 and
    5.10
  regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.10 and
    5.15
  regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.15 and
    6.1
  regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer
    than 6.1

 drivers/regulator/88pg86x.c                    | 1 +
 drivers/regulator/88pm800-regulator.c          | 1 +
 drivers/regulator/88pm8607.c                   | 1 +
 drivers/regulator/aat2870-regulator.c          | 1 +
 drivers/regulator/ab8500-ext.c                 | 1 +
 drivers/regulator/ab8500.c                     | 1 +
 drivers/regulator/act8865-regulator.c          | 1 +
 drivers/regulator/act8945a-regulator.c         | 1 +
 drivers/regulator/ad5398.c                     | 1 +
 drivers/regulator/anatop-regulator.c           | 1 +
 drivers/regulator/arizona-ldo1.c               | 2 ++
 drivers/regulator/arizona-micsupp.c            | 2 ++
 drivers/regulator/as3711-regulator.c           | 1 +
 drivers/regulator/as3722-regulator.c           | 1 +
 drivers/regulator/atc260x-regulator.c          | 1 +
 drivers/regulator/axp20x-regulator.c           | 1 +
 drivers/regulator/bcm590xx-regulator.c         | 1 +
 drivers/regulator/bd71815-regulator.c          | 1 +
 drivers/regulator/bd71828-regulator.c          | 3 ++-
 drivers/regulator/bd718x7-regulator.c          | 1 +
 drivers/regulator/bd9571mwv-regulator.c        | 1 +
 drivers/regulator/bd9576-regulator.c           | 1 +
 drivers/regulator/cpcap-regulator.c            | 1 +
 drivers/regulator/cros-ec-regulator.c          | 1 +
 drivers/regulator/da903x-regulator.c           | 1 +
 drivers/regulator/da9052-regulator.c           | 1 +
 drivers/regulator/da9055-regulator.c           | 1 +
 drivers/regulator/da9062-regulator.c           | 1 +
 drivers/regulator/da9063-regulator.c           | 1 +
 drivers/regulator/da9121-regulator.c           | 1 +
 drivers/regulator/da9210-regulator.c           | 1 +
 drivers/regulator/da9211-regulator.c           | 1 +
 drivers/regulator/db8500-prcmu.c               | 1 +
 drivers/regulator/dummy.c                      | 1 +
 drivers/regulator/fan53555.c                   | 1 +
 drivers/regulator/fan53880.c                   | 1 +
 drivers/regulator/fixed.c                      | 1 +
 drivers/regulator/gpio-regulator.c             | 1 +
 drivers/regulator/hi6421-regulator.c           | 1 +
 drivers/regulator/hi6421v530-regulator.c       | 1 +
 drivers/regulator/hi6421v600-regulator.c       | 1 +
 drivers/regulator/hi655x-regulator.c           | 1 +
 drivers/regulator/isl6271a-regulator.c         | 1 +
 drivers/regulator/isl9305.c                    | 1 +
 drivers/regulator/lm363x-regulator.c           | 1 +
 drivers/regulator/lochnagar-regulator.c        | 1 +
 drivers/regulator/lp3971.c                     | 1 +
 drivers/regulator/lp3972.c                     | 1 +
 drivers/regulator/lp872x.c                     | 1 +
 drivers/regulator/lp873x-regulator.c           | 1 +
 drivers/regulator/lp8755.c                     | 1 +
 drivers/regulator/lp87565-regulator.c          | 1 +
 drivers/regulator/lp8788-buck.c                | 1 +
 drivers/regulator/lp8788-ldo.c                 | 2 ++
 drivers/regulator/ltc3589.c                    | 1 +
 drivers/regulator/ltc3676.c                    | 1 +
 drivers/regulator/max14577-regulator.c         | 1 +
 drivers/regulator/max1586.c                    | 1 +
 drivers/regulator/max20086-regulator.c         | 1 +
 drivers/regulator/max20411-regulator.c         | 1 +
 drivers/regulator/max597x-regulator.c          | 1 +
 drivers/regulator/max77620-regulator.c         | 1 +
 drivers/regulator/max77650-regulator.c         | 1 +
 drivers/regulator/max77686-regulator.c         | 1 +
 drivers/regulator/max77693-regulator.c         | 1 +
 drivers/regulator/max77802-regulator.c         | 1 +
 drivers/regulator/max77826-regulator.c         | 1 +
 drivers/regulator/max8649.c                    | 1 +
 drivers/regulator/max8660.c                    | 1 +
 drivers/regulator/max8893.c                    | 1 +
 drivers/regulator/max8907-regulator.c          | 1 +
 drivers/regulator/max8925-regulator.c          | 1 +
 drivers/regulator/max8952.c                    | 1 +
 drivers/regulator/max8973-regulator.c          | 1 +
 drivers/regulator/max8997-regulator.c          | 1 +
 drivers/regulator/max8998.c                    | 1 +
 drivers/regulator/mc13783-regulator.c          | 1 +
 drivers/regulator/mc13892-regulator.c          | 1 +
 drivers/regulator/mcp16502.c                   | 1 +
 drivers/regulator/mp5416.c                     | 1 +
 drivers/regulator/mp8859.c                     | 1 +
 drivers/regulator/mp886x.c                     | 1 +
 drivers/regulator/mpq7920.c                    | 1 +
 drivers/regulator/mt6311-regulator.c           | 1 +
 drivers/regulator/mt6315-regulator.c           | 1 +
 drivers/regulator/mt6323-regulator.c           | 1 +
 drivers/regulator/mt6331-regulator.c           | 1 +
 drivers/regulator/mt6332-regulator.c           | 1 +
 drivers/regulator/mt6357-regulator.c           | 1 +
 drivers/regulator/mt6358-regulator.c           | 1 +
 drivers/regulator/mt6359-regulator.c           | 1 +
 drivers/regulator/mt6360-regulator.c           | 1 +
 drivers/regulator/mt6370-regulator.c           | 1 +
 drivers/regulator/mt6380-regulator.c           | 1 +
 drivers/regulator/mt6397-regulator.c           | 1 +
 drivers/regulator/mtk-dvfsrc-regulator.c       | 1 +
 drivers/regulator/palmas-regulator.c           | 1 +
 drivers/regulator/pbias-regulator.c            | 1 +
 drivers/regulator/pca9450-regulator.c          | 1 +
 drivers/regulator/pcap-regulator.c             | 1 +
 drivers/regulator/pcf50633-regulator.c         | 1 +
 drivers/regulator/pf8x00-regulator.c           | 1 +
 drivers/regulator/pfuze100-regulator.c         | 1 +
 drivers/regulator/pv88060-regulator.c          | 1 +
 drivers/regulator/pv88080-regulator.c          | 1 +
 drivers/regulator/pv88090-regulator.c          | 1 +
 drivers/regulator/pwm-regulator.c              | 1 +
 drivers/regulator/qcom-labibb-regulator.c      | 1 +
 drivers/regulator/qcom-rpmh-regulator.c        | 1 +
 drivers/regulator/qcom_rpm-regulator.c         | 1 +
 drivers/regulator/qcom_smd-regulator.c         | 1 +
 drivers/regulator/qcom_spmi-regulator.c        | 1 +
 drivers/regulator/qcom_usb_vbus-regulator.c    | 1 +
 drivers/regulator/rc5t583-regulator.c          | 1 +
 drivers/regulator/rk808-regulator.c            | 3 ++-
 drivers/regulator/rn5t618-regulator.c          | 1 +
 drivers/regulator/rpi-panel-attiny-regulator.c | 1 +
 drivers/regulator/rt4801-regulator.c           | 1 +
 drivers/regulator/rt4831-regulator.c           | 1 +
 drivers/regulator/rt5033-regulator.c           | 1 +
 drivers/regulator/rt5120-regulator.c           | 1 +
 drivers/regulator/rt5190a-regulator.c          | 1 +
 drivers/regulator/rt5739.c                     | 1 +
 drivers/regulator/rt5759-regulator.c           | 1 +
 drivers/regulator/rt6160-regulator.c           | 1 +
 drivers/regulator/rt6190-regulator.c           | 1 +
 drivers/regulator/rt6245-regulator.c           | 1 +
 drivers/regulator/rtmv20-regulator.c           | 1 +
 drivers/regulator/rtq2134-regulator.c          | 1 +
 drivers/regulator/rtq6752-regulator.c          | 1 +
 drivers/regulator/s2mpa01.c                    | 1 +
 drivers/regulator/s2mps11.c                    | 1 +
 drivers/regulator/s5m8767.c                    | 1 +
 drivers/regulator/sc2731-regulator.c           | 1 +
 drivers/regulator/sky81452-regulator.c         | 1 +
 drivers/regulator/slg51000-regulator.c         | 1 +
 drivers/regulator/sm5703-regulator.c           | 1 +
 drivers/regulator/stm32-booster.c              | 1 +
 drivers/regulator/stm32-pwr.c                  | 1 +
 drivers/regulator/stm32-vrefbuf.c              | 1 +
 drivers/regulator/stpmic1_regulator.c          | 1 +
 drivers/regulator/stw481x-vmmc.c               | 1 +
 drivers/regulator/sy7636a-regulator.c          | 1 +
 drivers/regulator/sy8106a-regulator.c          | 1 +
 drivers/regulator/sy8824x.c                    | 1 +
 drivers/regulator/sy8827n.c                    | 1 +
 drivers/regulator/ti-abb-regulator.c           | 1 +
 drivers/regulator/tps51632-regulator.c         | 1 +
 drivers/regulator/tps6105x-regulator.c         | 1 +
 drivers/regulator/tps62360-regulator.c         | 1 +
 drivers/regulator/tps6286x-regulator.c         | 1 +
 drivers/regulator/tps65023-regulator.c         | 1 +
 drivers/regulator/tps6507x-regulator.c         | 1 +
 drivers/regulator/tps65086-regulator.c         | 1 +
 drivers/regulator/tps65090-regulator.c         | 1 +
 drivers/regulator/tps65132-regulator.c         | 1 +
 drivers/regulator/tps65217-regulator.c         | 1 +
 drivers/regulator/tps65218-regulator.c         | 1 +
 drivers/regulator/tps65219-regulator.c         | 1 +
 drivers/regulator/tps6524x-regulator.c         | 1 +
 drivers/regulator/tps6586x-regulator.c         | 1 +
 drivers/regulator/tps65910-regulator.c         | 1 +
 drivers/regulator/tps65912-regulator.c         | 1 +
 drivers/regulator/tps68470-regulator.c         | 1 +
 drivers/regulator/twl-regulator.c              | 1 +
 drivers/regulator/twl6030-regulator.c          | 1 +
 drivers/regulator/uniphier-regulator.c         | 1 +
 drivers/regulator/userspace-consumer.c         | 1 +
 drivers/regulator/vctrl-regulator.c            | 1 +
 drivers/regulator/vexpress-regulator.c         | 1 +
 drivers/regulator/virtual.c                    | 1 +
 drivers/regulator/vqmmc-ipq4019-regulator.c    | 1 +
 drivers/regulator/wm831x-dcdc.c                | 4 ++++
 drivers/regulator/wm831x-isink.c               | 1 +
 drivers/regulator/wm831x-ldo.c                 | 3 +++
 drivers/regulator/wm8350-regulator.c           | 1 +
 drivers/regulator/wm8400-regulator.c           | 1 +
 drivers/regulator/wm8994-regulator.c           | 1 +
 178 files changed, 188 insertions(+), 2 deletions(-)

--
2.40.0.rc1.284.g88254d51c5-goog
parents cff5c895 bdce47bb
...@@ -101,6 +101,7 @@ MODULE_DEVICE_TABLE(i2c, pg86x_i2c_id); ...@@ -101,6 +101,7 @@ MODULE_DEVICE_TABLE(i2c, pg86x_i2c_id);
static struct i2c_driver pg86x_regulator_driver = { static struct i2c_driver pg86x_regulator_driver = {
.driver = { .driver = {
.name = "88pg86x", .name = "88pg86x",
.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_new = pg86x_i2c_probe,
......
...@@ -274,6 +274,7 @@ static int pm800_regulator_probe(struct platform_device *pdev) ...@@ -274,6 +274,7 @@ static int pm800_regulator_probe(struct platform_device *pdev)
static struct platform_driver pm800_regulator_driver = { static struct platform_driver pm800_regulator_driver = {
.driver = { .driver = {
.name = "88pm80x-regulator", .name = "88pm80x-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = pm800_regulator_probe, .probe = pm800_regulator_probe,
}; };
......
...@@ -383,6 +383,7 @@ MODULE_DEVICE_TABLE(platform, pm8607_regulator_driver_ids); ...@@ -383,6 +383,7 @@ MODULE_DEVICE_TABLE(platform, pm8607_regulator_driver_ids);
static struct platform_driver pm8607_regulator_driver = { static struct platform_driver pm8607_regulator_driver = {
.driver = { .driver = {
.name = "88pm860x-regulator", .name = "88pm860x-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = pm8607_regulator_probe, .probe = pm8607_regulator_probe,
.id_table = pm8607_regulator_driver_ids, .id_table = pm8607_regulator_driver_ids,
......
...@@ -178,6 +178,7 @@ static int aat2870_regulator_probe(struct platform_device *pdev) ...@@ -178,6 +178,7 @@ static int aat2870_regulator_probe(struct platform_device *pdev)
static struct platform_driver aat2870_regulator_driver = { static struct platform_driver aat2870_regulator_driver = {
.driver = { .driver = {
.name = "aat2870-regulator", .name = "aat2870-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = aat2870_regulator_probe, .probe = aat2870_regulator_probe,
}; };
......
...@@ -446,6 +446,7 @@ static struct platform_driver ab8500_ext_regulator_driver = { ...@@ -446,6 +446,7 @@ static struct platform_driver ab8500_ext_regulator_driver = {
.probe = ab8500_ext_regulator_probe, .probe = ab8500_ext_regulator_probe,
.driver = { .driver = {
.name = "ab8500-ext-regulator", .name = "ab8500-ext-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -1737,6 +1737,7 @@ static struct platform_driver ab8500_regulator_driver = { ...@@ -1737,6 +1737,7 @@ static struct platform_driver ab8500_regulator_driver = {
.probe = ab8500_regulator_probe, .probe = ab8500_regulator_probe,
.driver = { .driver = {
.name = "ab8500-regulator", .name = "ab8500-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -789,6 +789,7 @@ MODULE_DEVICE_TABLE(i2c, act8865_ids); ...@@ -789,6 +789,7 @@ MODULE_DEVICE_TABLE(i2c, act8865_ids);
static struct i2c_driver act8865_pmic_driver = { static struct i2c_driver act8865_pmic_driver = {
.driver = { .driver = {
.name = "act8865", .name = "act8865",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = act8865_pmic_probe, .probe_new = act8865_pmic_probe,
.id_table = act8865_ids, .id_table = act8865_ids,
......
...@@ -348,6 +348,7 @@ static void act8945a_pmic_shutdown(struct platform_device *pdev) ...@@ -348,6 +348,7 @@ static void act8945a_pmic_shutdown(struct platform_device *pdev)
static struct platform_driver act8945a_pmic_driver = { static struct platform_driver act8945a_pmic_driver = {
.driver = { .driver = {
.name = "act8945a-regulator", .name = "act8945a-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &act8945a_pm, .pm = &act8945a_pm,
}, },
.probe = act8945a_pmic_probe, .probe = act8945a_pmic_probe,
......
...@@ -257,6 +257,7 @@ static struct i2c_driver ad5398_driver = { ...@@ -257,6 +257,7 @@ static struct i2c_driver ad5398_driver = {
.probe_new = ad5398_probe, .probe_new = ad5398_probe,
.driver = { .driver = {
.name = "ad5398", .name = "ad5398",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.id_table = ad5398_id, .id_table = ad5398_id,
}; };
......
...@@ -328,6 +328,7 @@ MODULE_DEVICE_TABLE(of, of_anatop_regulator_match_tbl); ...@@ -328,6 +328,7 @@ MODULE_DEVICE_TABLE(of, of_anatop_regulator_match_tbl);
static struct platform_driver anatop_regulator_driver = { static struct platform_driver anatop_regulator_driver = {
.driver = { .driver = {
.name = "anatop_regulator", .name = "anatop_regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_anatop_regulator_match_tbl, .of_match_table = of_anatop_regulator_match_tbl,
}, },
.probe = anatop_regulator_probe, .probe = anatop_regulator_probe,
......
...@@ -380,6 +380,7 @@ static struct platform_driver arizona_ldo1_driver = { ...@@ -380,6 +380,7 @@ static struct platform_driver arizona_ldo1_driver = {
.remove = arizona_ldo1_remove, .remove = arizona_ldo1_remove,
.driver = { .driver = {
.name = "arizona-ldo1", .name = "arizona-ldo1",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
...@@ -388,6 +389,7 @@ static struct platform_driver madera_ldo1_driver = { ...@@ -388,6 +389,7 @@ static struct platform_driver madera_ldo1_driver = {
.remove = arizona_ldo1_remove, .remove = arizona_ldo1_remove,
.driver = { .driver = {
.name = "madera-ldo1", .name = "madera-ldo1",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -365,6 +365,7 @@ static struct platform_driver arizona_micsupp_driver = { ...@@ -365,6 +365,7 @@ static struct platform_driver arizona_micsupp_driver = {
.probe = arizona_micsupp_probe, .probe = arizona_micsupp_probe,
.driver = { .driver = {
.name = "arizona-micsupp", .name = "arizona-micsupp",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
...@@ -372,6 +373,7 @@ static struct platform_driver madera_micsupp_driver = { ...@@ -372,6 +373,7 @@ static struct platform_driver madera_micsupp_driver = {
.probe = madera_micsupp_probe, .probe = madera_micsupp_probe,
.driver = { .driver = {
.name = "madera-micsupp", .name = "madera-micsupp",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -243,6 +243,7 @@ static int as3711_regulator_probe(struct platform_device *pdev) ...@@ -243,6 +243,7 @@ static int as3711_regulator_probe(struct platform_device *pdev)
static struct platform_driver as3711_regulator_driver = { static struct platform_driver as3711_regulator_driver = {
.driver = { .driver = {
.name = "as3711-regulator", .name = "as3711-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = as3711_regulator_probe, .probe = as3711_regulator_probe,
}; };
......
...@@ -831,6 +831,7 @@ MODULE_DEVICE_TABLE(of, of_as3722_regulator_match); ...@@ -831,6 +831,7 @@ MODULE_DEVICE_TABLE(of, of_as3722_regulator_match);
static struct platform_driver as3722_regulator_driver = { static struct platform_driver as3722_regulator_driver = {
.driver = { .driver = {
.name = "as3722-regulator", .name = "as3722-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_as3722_regulator_match, .of_match_table = of_as3722_regulator_match,
}, },
.probe = as3722_regulator_probe, .probe = as3722_regulator_probe,
......
...@@ -530,6 +530,7 @@ static struct platform_driver atc260x_regulator_driver = { ...@@ -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,
}, },
}; };
......
...@@ -1364,6 +1364,7 @@ static struct platform_driver axp20x_regulator_driver = { ...@@ -1364,6 +1364,7 @@ static struct platform_driver axp20x_regulator_driver = {
.probe = axp20x_regulator_probe, .probe = axp20x_regulator_probe,
.driver = { .driver = {
.name = "axp20x-regulator", .name = "axp20x-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -354,6 +354,7 @@ static int bcm590xx_probe(struct platform_device *pdev) ...@@ -354,6 +354,7 @@ static int bcm590xx_probe(struct platform_device *pdev)
static struct platform_driver bcm590xx_regulator_driver = { static struct platform_driver bcm590xx_regulator_driver = {
.driver = { .driver = {
.name = "bcm590xx-vregs", .name = "bcm590xx-vregs",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = bcm590xx_probe, .probe = bcm590xx_probe,
}; };
......
...@@ -619,6 +619,7 @@ MODULE_DEVICE_TABLE(platform, bd7181x_pmic_id); ...@@ -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,
......
...@@ -771,7 +771,8 @@ static int bd71828_probe(struct platform_device *pdev) ...@@ -771,7 +771,8 @@ static int bd71828_probe(struct platform_device *pdev)
static struct platform_driver bd71828_regulator = { static struct platform_driver bd71828_regulator = {
.driver = { .driver = {
.name = "bd71828-pmic" .name = "bd71828-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = bd71828_probe, .probe = bd71828_probe,
}; };
......
...@@ -1829,6 +1829,7 @@ MODULE_DEVICE_TABLE(platform, bd718x7_pmic_id); ...@@ -1829,6 +1829,7 @@ MODULE_DEVICE_TABLE(platform, bd718x7_pmic_id);
static struct platform_driver bd718xx_regulator = { static struct platform_driver bd718xx_regulator = {
.driver = { .driver = {
.name = "bd718xx-pmic", .name = "bd718xx-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = bd718xx_probe, .probe = bd718xx_probe,
.id_table = bd718x7_pmic_id, .id_table = bd718x7_pmic_id,
......
...@@ -353,6 +353,7 @@ MODULE_DEVICE_TABLE(platform, bd9571mwv_regulator_id_table); ...@@ -353,6 +353,7 @@ MODULE_DEVICE_TABLE(platform, bd9571mwv_regulator_id_table);
static struct platform_driver bd9571mwv_regulator_driver = { static struct platform_driver bd9571mwv_regulator_driver = {
.driver = { .driver = {
.name = "bd9571mwv-regulator", .name = "bd9571mwv-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = DEV_PM_OPS, .pm = DEV_PM_OPS,
}, },
.probe = bd9571mwv_regulator_probe, .probe = bd9571mwv_regulator_probe,
......
...@@ -1126,6 +1126,7 @@ MODULE_DEVICE_TABLE(platform, bd957x_pmic_id); ...@@ -1126,6 +1126,7 @@ MODULE_DEVICE_TABLE(platform, bd957x_pmic_id);
static struct platform_driver bd957x_regulator = { static struct platform_driver bd957x_regulator = {
.driver = { .driver = {
.name = "bd957x-pmic", .name = "bd957x-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = bd957x_probe, .probe = bd957x_probe,
.id_table = bd957x_pmic_id, .id_table = bd957x_pmic_id,
......
...@@ -553,6 +553,7 @@ static struct platform_driver cpcap_regulator_driver = { ...@@ -553,6 +553,7 @@ static struct platform_driver cpcap_regulator_driver = {
.probe = cpcap_regulator_probe, .probe = cpcap_regulator_probe,
.driver = { .driver = {
.name = "cpcap-regulator", .name = "cpcap-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(cpcap_regulator_id_table), .of_match_table = of_match_ptr(cpcap_regulator_id_table),
}, },
}; };
......
...@@ -215,6 +215,7 @@ static struct platform_driver cros_ec_regulator_driver = { ...@@ -215,6 +215,7 @@ static struct platform_driver cros_ec_regulator_driver = {
.probe = cros_ec_regulator_probe, .probe = cros_ec_regulator_probe,
.driver = { .driver = {
.name = "cros-ec-regulator", .name = "cros-ec-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = regulator_cros_ec_of_match, .of_match_table = regulator_cros_ec_of_match,
}, },
}; };
......
...@@ -471,6 +471,7 @@ static int da903x_regulator_probe(struct platform_device *pdev) ...@@ -471,6 +471,7 @@ static int da903x_regulator_probe(struct platform_device *pdev)
static struct platform_driver da903x_regulator_driver = { static struct platform_driver da903x_regulator_driver = {
.driver = { .driver = {
.name = "da903x-regulator", .name = "da903x-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = da903x_regulator_probe, .probe = da903x_regulator_probe,
}; };
......
...@@ -438,6 +438,7 @@ static struct platform_driver da9052_regulator_driver = { ...@@ -438,6 +438,7 @@ static struct platform_driver da9052_regulator_driver = {
.probe = da9052_regulator_probe, .probe = da9052_regulator_probe,
.driver = { .driver = {
.name = "da9052-regulator", .name = "da9052-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -576,6 +576,7 @@ static struct platform_driver da9055_regulator_driver = { ...@@ -576,6 +576,7 @@ static struct platform_driver da9055_regulator_driver = {
.probe = da9055_regulator_probe, .probe = da9055_regulator_probe,
.driver = { .driver = {
.name = "da9055-regulator", .name = "da9055-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -1033,6 +1033,7 @@ static int da9062_regulator_probe(struct platform_device *pdev) ...@@ -1033,6 +1033,7 @@ static int da9062_regulator_probe(struct platform_device *pdev)
static struct platform_driver da9062_regulator_driver = { static struct platform_driver da9062_regulator_driver = {
.driver = { .driver = {
.name = "da9062-regulators", .name = "da9062-regulators",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = da9062_regulator_probe, .probe = da9062_regulator_probe,
}; };
......
...@@ -971,6 +971,7 @@ static int da9063_regulator_probe(struct platform_device *pdev) ...@@ -971,6 +971,7 @@ static int da9063_regulator_probe(struct platform_device *pdev)
static struct platform_driver da9063_regulator_driver = { static struct platform_driver da9063_regulator_driver = {
.driver = { .driver = {
.name = DA9063_DRVNAME_REGULATORS, .name = DA9063_DRVNAME_REGULATORS,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = da9063_regulator_probe, .probe = da9063_regulator_probe,
}; };
......
...@@ -1194,6 +1194,7 @@ MODULE_DEVICE_TABLE(i2c, da9121_i2c_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,
......
...@@ -221,6 +221,7 @@ MODULE_DEVICE_TABLE(i2c, da9210_i2c_id); ...@@ -221,6 +221,7 @@ MODULE_DEVICE_TABLE(i2c, da9210_i2c_id);
static struct i2c_driver da9210_regulator_driver = { static struct i2c_driver da9210_regulator_driver = {
.driver = { .driver = {
.name = "da9210", .name = "da9210",
.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_new = da9210_i2c_probe,
......
...@@ -552,6 +552,7 @@ MODULE_DEVICE_TABLE(of, da9211_dt_ids); ...@@ -552,6 +552,7 @@ MODULE_DEVICE_TABLE(of, da9211_dt_ids);
static struct i2c_driver da9211_regulator_driver = { static struct i2c_driver da9211_regulator_driver = {
.driver = { .driver = {
.name = "da9211", .name = "da9211",
.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_new = da9211_i2c_probe,
......
...@@ -479,6 +479,7 @@ static int db8500_regulator_remove(struct platform_device *pdev) ...@@ -479,6 +479,7 @@ static int db8500_regulator_remove(struct platform_device *pdev)
static struct platform_driver db8500_regulator_driver = { static struct platform_driver db8500_regulator_driver = {
.driver = { .driver = {
.name = "db8500-prcmu-regulators", .name = "db8500-prcmu-regulators",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = db8500_regulator_probe, .probe = db8500_regulator_probe,
.remove = db8500_regulator_remove, .remove = db8500_regulator_remove,
......
...@@ -60,6 +60,7 @@ static struct platform_driver dummy_regulator_driver = { ...@@ -60,6 +60,7 @@ static struct platform_driver dummy_regulator_driver = {
.probe = dummy_regulator_probe, .probe = dummy_regulator_probe,
.driver = { .driver = {
.name = "reg-dummy", .name = "reg-dummy",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -663,6 +663,7 @@ MODULE_DEVICE_TABLE(i2c, fan53555_id); ...@@ -663,6 +663,7 @@ MODULE_DEVICE_TABLE(i2c, fan53555_id);
static struct i2c_driver fan53555_regulator_driver = { static struct i2c_driver fan53555_regulator_driver = {
.driver = { .driver = {
.name = "fan53555-regulator", .name = "fan53555-regulator",
.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_new = fan53555_regulator_probe,
......
...@@ -172,6 +172,7 @@ MODULE_DEVICE_TABLE(i2c, fan53880_i2c_id); ...@@ -172,6 +172,7 @@ MODULE_DEVICE_TABLE(i2c, fan53880_i2c_id);
static struct i2c_driver fan53880_regulator_driver = { static struct i2c_driver fan53880_regulator_driver = {
.driver = { .driver = {
.name = "fan53880", .name = "fan53880",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = fan53880_dt_ids, .of_match_table = fan53880_dt_ids,
}, },
.probe_new = fan53880_i2c_probe, .probe_new = fan53880_i2c_probe,
......
...@@ -334,6 +334,7 @@ static struct platform_driver regulator_fixed_voltage_driver = { ...@@ -334,6 +334,7 @@ static struct platform_driver regulator_fixed_voltage_driver = {
.probe = reg_fixed_voltage_probe, .probe = reg_fixed_voltage_probe,
.driver = { .driver = {
.name = "reg-fixed-voltage", .name = "reg-fixed-voltage",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(fixed_of_match), .of_match_table = of_match_ptr(fixed_of_match),
}, },
}; };
......
...@@ -368,6 +368,7 @@ static struct platform_driver gpio_regulator_driver = { ...@@ -368,6 +368,7 @@ static struct platform_driver gpio_regulator_driver = {
.probe = gpio_regulator_probe, .probe = gpio_regulator_probe,
.driver = { .driver = {
.name = "gpio-regulator", .name = "gpio-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(regulator_gpio_of_match), .of_match_table = of_match_ptr(regulator_gpio_of_match),
}, },
}; };
......
...@@ -579,6 +579,7 @@ static struct platform_driver hi6421_regulator_driver = { ...@@ -579,6 +579,7 @@ static struct platform_driver hi6421_regulator_driver = {
.id_table = hi6421_regulator_table, .id_table = hi6421_regulator_table,
.driver = { .driver = {
.name = "hi6421-regulator", .name = "hi6421-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = hi6421_regulator_probe, .probe = hi6421_regulator_probe,
}; };
......
...@@ -200,6 +200,7 @@ static struct platform_driver hi6421v530_regulator_driver = { ...@@ -200,6 +200,7 @@ static struct platform_driver hi6421v530_regulator_driver = {
.id_table = hi6421v530_regulator_table, .id_table = hi6421v530_regulator_table,
.driver = { .driver = {
.name = "hi6421v530-regulator", .name = "hi6421v530-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = hi6421v530_regulator_probe, .probe = hi6421v530_regulator_probe,
}; };
......
...@@ -284,6 +284,7 @@ static struct platform_driver hi6421_spmi_regulator_driver = { ...@@ -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,
}; };
......
...@@ -206,6 +206,7 @@ static struct platform_driver hi655x_regulator_driver = { ...@@ -206,6 +206,7 @@ static struct platform_driver hi655x_regulator_driver = {
.id_table = hi655x_regulator_table, .id_table = hi655x_regulator_table,
.driver = { .driver = {
.name = "hi655x-regulator", .name = "hi655x-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = hi655x_regulator_probe, .probe = hi655x_regulator_probe,
}; };
......
...@@ -147,6 +147,7 @@ MODULE_DEVICE_TABLE(i2c, isl6271a_id); ...@@ -147,6 +147,7 @@ MODULE_DEVICE_TABLE(i2c, isl6271a_id);
static struct i2c_driver isl6271a_i2c_driver = { static struct i2c_driver isl6271a_i2c_driver = {
.driver = { .driver = {
.name = "isl6271a", .name = "isl6271a",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = isl6271a_probe, .probe_new = isl6271a_probe,
.id_table = isl6271a_id, .id_table = isl6271a_id,
......
...@@ -195,6 +195,7 @@ MODULE_DEVICE_TABLE(i2c, isl9305_i2c_id); ...@@ -195,6 +195,7 @@ MODULE_DEVICE_TABLE(i2c, isl9305_i2c_id);
static struct i2c_driver isl9305_regulator_driver = { static struct i2c_driver isl9305_regulator_driver = {
.driver = { .driver = {
.name = "isl9305", .name = "isl9305",
.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_new = isl9305_i2c_probe,
......
...@@ -355,6 +355,7 @@ static struct platform_driver lm363x_regulator_driver = { ...@@ -355,6 +355,7 @@ static struct platform_driver lm363x_regulator_driver = {
.probe = lm363x_regulator_probe, .probe = lm363x_regulator_probe,
.driver = { .driver = {
.name = "lm363x-regulator", .name = "lm363x-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -272,6 +272,7 @@ static int lochnagar_regulator_probe(struct platform_device *pdev) ...@@ -272,6 +272,7 @@ static int lochnagar_regulator_probe(struct platform_device *pdev)
static struct platform_driver lochnagar_regulator_driver = { static struct platform_driver lochnagar_regulator_driver = {
.driver = { .driver = {
.name = "lochnagar-regulator", .name = "lochnagar-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(lochnagar_of_match), .of_match_table = of_match_ptr(lochnagar_of_match),
}, },
......
...@@ -447,6 +447,7 @@ MODULE_DEVICE_TABLE(i2c, lp3971_i2c_id); ...@@ -447,6 +447,7 @@ MODULE_DEVICE_TABLE(i2c, lp3971_i2c_id);
static struct i2c_driver lp3971_i2c_driver = { static struct i2c_driver lp3971_i2c_driver = {
.driver = { .driver = {
.name = "LP3971", .name = "LP3971",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = lp3971_i2c_probe, .probe_new = lp3971_i2c_probe,
.id_table = lp3971_i2c_id, .id_table = lp3971_i2c_id,
......
...@@ -545,6 +545,7 @@ MODULE_DEVICE_TABLE(i2c, lp3972_i2c_id); ...@@ -545,6 +545,7 @@ MODULE_DEVICE_TABLE(i2c, lp3972_i2c_id);
static struct i2c_driver lp3972_i2c_driver = { static struct i2c_driver lp3972_i2c_driver = {
.driver = { .driver = {
.name = "lp3972", .name = "lp3972",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = lp3972_i2c_probe, .probe_new = lp3972_i2c_probe,
.id_table = lp3972_i2c_id, .id_table = lp3972_i2c_id,
......
...@@ -944,6 +944,7 @@ MODULE_DEVICE_TABLE(i2c, lp872x_ids); ...@@ -944,6 +944,7 @@ MODULE_DEVICE_TABLE(i2c, lp872x_ids);
static struct i2c_driver lp872x_driver = { static struct i2c_driver lp872x_driver = {
.driver = { .driver = {
.name = "lp872x", .name = "lp872x",
.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_new = lp872x_probe,
......
...@@ -187,6 +187,7 @@ MODULE_DEVICE_TABLE(platform, lp873x_regulator_id_table); ...@@ -187,6 +187,7 @@ MODULE_DEVICE_TABLE(platform, lp873x_regulator_id_table);
static struct platform_driver lp873x_regulator_driver = { static struct platform_driver lp873x_regulator_driver = {
.driver = { .driver = {
.name = "lp873x-pmic", .name = "lp873x-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = lp873x_regulator_probe, .probe = lp873x_regulator_probe,
.id_table = lp873x_regulator_id_table, .id_table = lp873x_regulator_id_table,
......
...@@ -440,6 +440,7 @@ MODULE_DEVICE_TABLE(i2c, lp8755_id); ...@@ -440,6 +440,7 @@ MODULE_DEVICE_TABLE(i2c, lp8755_id);
static struct i2c_driver lp8755_i2c_driver = { static struct i2c_driver lp8755_i2c_driver = {
.driver = { .driver = {
.name = LP8755_NAME, .name = LP8755_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe_new = lp8755_probe, .probe_new = lp8755_probe,
.remove = lp8755_remove, .remove = lp8755_remove,
......
...@@ -237,6 +237,7 @@ MODULE_DEVICE_TABLE(platform, lp87565_regulator_id_table); ...@@ -237,6 +237,7 @@ MODULE_DEVICE_TABLE(platform, lp87565_regulator_id_table);
static struct platform_driver lp87565_regulator_driver = { static struct platform_driver lp87565_regulator_driver = {
.driver = { .driver = {
.name = "lp87565-pmic", .name = "lp87565-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = lp87565_regulator_probe, .probe = lp87565_regulator_probe,
.id_table = lp87565_regulator_id_table, .id_table = lp87565_regulator_id_table,
......
...@@ -531,6 +531,7 @@ static struct platform_driver lp8788_buck_driver = { ...@@ -531,6 +531,7 @@ static struct platform_driver lp8788_buck_driver = {
.probe = lp8788_buck_probe, .probe = lp8788_buck_probe,
.driver = { .driver = {
.name = LP8788_DEV_BUCK, .name = LP8788_DEV_BUCK,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -564,6 +564,7 @@ static struct platform_driver lp8788_dldo_driver = { ...@@ -564,6 +564,7 @@ static struct platform_driver lp8788_dldo_driver = {
.probe = lp8788_dldo_probe, .probe = lp8788_dldo_probe,
.driver = { .driver = {
.name = LP8788_DEV_DLDO, .name = LP8788_DEV_DLDO,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
...@@ -611,6 +612,7 @@ static struct platform_driver lp8788_aldo_driver = { ...@@ -611,6 +612,7 @@ static struct platform_driver lp8788_aldo_driver = {
.probe = lp8788_aldo_probe, .probe = lp8788_aldo_probe,
.driver = { .driver = {
.name = LP8788_DEV_ALDO, .name = LP8788_DEV_ALDO,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -474,6 +474,7 @@ MODULE_DEVICE_TABLE(of, ltc3589_of_match); ...@@ -474,6 +474,7 @@ MODULE_DEVICE_TABLE(of, ltc3589_of_match);
static struct i2c_driver ltc3589_driver = { static struct i2c_driver ltc3589_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.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_new = ltc3589_probe,
......
...@@ -371,6 +371,7 @@ MODULE_DEVICE_TABLE(of, ltc3676_of_match); ...@@ -371,6 +371,7 @@ MODULE_DEVICE_TABLE(of, ltc3676_of_match);
static struct i2c_driver ltc3676_driver = { static struct i2c_driver ltc3676_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.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_new = ltc3676_regulator_probe,
......
...@@ -241,6 +241,7 @@ MODULE_DEVICE_TABLE(platform, max14577_regulator_id); ...@@ -241,6 +241,7 @@ MODULE_DEVICE_TABLE(platform, max14577_regulator_id);
static struct platform_driver max14577_regulator_driver = { static struct platform_driver max14577_regulator_driver = {
.driver = { .driver = {
.name = "max14577-regulator", .name = "max14577-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = max14577_regulator_probe, .probe = max14577_regulator_probe,
.id_table = max14577_regulator_id, .id_table = max14577_regulator_id,
......
...@@ -292,6 +292,7 @@ static struct i2c_driver max1586_pmic_driver = { ...@@ -292,6 +292,7 @@ static struct i2c_driver max1586_pmic_driver = {
.probe_new = max1586_pmic_probe, .probe_new = max1586_pmic_probe,
.driver = { .driver = {
.name = "max1586", .name = "max1586",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(max1586_of_match), .of_match_table = of_match_ptr(max1586_of_match),
}, },
.id_table = max1586_id, .id_table = max1586_id,
......
...@@ -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,
......
...@@ -153,6 +153,7 @@ MODULE_DEVICE_TABLE(i2c, max20411_id); ...@@ -153,6 +153,7 @@ MODULE_DEVICE_TABLE(i2c, max20411_id);
static struct i2c_driver max20411_i2c_driver = { static struct i2c_driver max20411_i2c_driver = {
.driver = { .driver = {
.name = "max20411", .name = "max20411",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_max20411_match_tbl, .of_match_table = of_max20411_match_tbl,
}, },
.probe_new = max20411_probe, .probe_new = max20411_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,
}; };
......
...@@ -916,6 +916,7 @@ static struct platform_driver max77620_regulator_driver = { ...@@ -916,6 +916,7 @@ static struct platform_driver max77620_regulator_driver = {
.id_table = max77620_regulator_devtype, .id_table = max77620_regulator_devtype,
.driver = { .driver = {
.name = "max77620-pmic", .name = "max77620-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &max77620_regulator_pm_ops, .pm = &max77620_regulator_pm_ops,
}, },
}; };
......
...@@ -395,6 +395,7 @@ MODULE_DEVICE_TABLE(of, max77650_regulator_of_match); ...@@ -395,6 +395,7 @@ MODULE_DEVICE_TABLE(of, max77650_regulator_of_match);
static struct platform_driver max77650_regulator_driver = { static struct platform_driver max77650_regulator_driver = {
.driver = { .driver = {
.name = "max77650-regulator", .name = "max77650-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = max77650_regulator_of_match, .of_match_table = max77650_regulator_of_match,
}, },
.probe = max77650_regulator_probe, .probe = max77650_regulator_probe,
......
...@@ -525,6 +525,7 @@ MODULE_DEVICE_TABLE(platform, max77686_pmic_id); ...@@ -525,6 +525,7 @@ MODULE_DEVICE_TABLE(platform, max77686_pmic_id);
static struct platform_driver max77686_pmic_driver = { static struct platform_driver max77686_pmic_driver = {
.driver = { .driver = {
.name = "max77686-pmic", .name = "max77686-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = max77686_pmic_probe, .probe = max77686_pmic_probe,
.id_table = max77686_pmic_id, .id_table = max77686_pmic_id,
......
...@@ -281,6 +281,7 @@ MODULE_DEVICE_TABLE(platform, max77693_pmic_id); ...@@ -281,6 +281,7 @@ MODULE_DEVICE_TABLE(platform, max77693_pmic_id);
static struct platform_driver max77693_pmic_driver = { static struct platform_driver max77693_pmic_driver = {
.driver = { .driver = {
.name = "max77693-pmic", .name = "max77693-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = max77693_pmic_probe, .probe = max77693_pmic_probe,
.id_table = max77693_pmic_id, .id_table = max77693_pmic_id,
......
...@@ -554,6 +554,7 @@ MODULE_DEVICE_TABLE(platform, max77802_pmic_id); ...@@ -554,6 +554,7 @@ MODULE_DEVICE_TABLE(platform, max77802_pmic_id);
static struct platform_driver max77802_pmic_driver = { static struct platform_driver max77802_pmic_driver = {
.driver = { .driver = {
.name = "max77802-pmic", .name = "max77802-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = max77802_pmic_probe, .probe = max77802_pmic_probe,
.id_table = max77802_pmic_id, .id_table = max77802_pmic_id,
......
...@@ -289,6 +289,7 @@ MODULE_DEVICE_TABLE(i2c, max77826_id); ...@@ -289,6 +289,7 @@ MODULE_DEVICE_TABLE(i2c, max77826_id);
static struct i2c_driver max77826_regulator_driver = { static struct i2c_driver max77826_regulator_driver = {
.driver = { .driver = {
.name = "max77826", .name = "max77826",
.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_new = max77826_i2c_probe,
......
...@@ -249,6 +249,7 @@ static struct i2c_driver max8649_driver = { ...@@ -249,6 +249,7 @@ static struct i2c_driver max8649_driver = {
.probe_new = max8649_regulator_probe, .probe_new = max8649_regulator_probe,
.driver = { .driver = {
.name = "max8649", .name = "max8649",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.id_table = max8649_id, .id_table = max8649_id,
}; };
......
...@@ -506,6 +506,7 @@ static struct i2c_driver max8660_driver = { ...@@ -506,6 +506,7 @@ static struct i2c_driver max8660_driver = {
.probe_new = max8660_probe, .probe_new = max8660_probe,
.driver = { .driver = {
.name = "max8660", .name = "max8660",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.id_table = max8660_id, .id_table = max8660_id,
}; };
......
...@@ -171,6 +171,7 @@ static struct i2c_driver max8893_driver = { ...@@ -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,
......
...@@ -372,6 +372,7 @@ static int max8907_regulator_probe(struct platform_device *pdev) ...@@ -372,6 +372,7 @@ static int max8907_regulator_probe(struct platform_device *pdev)
static struct platform_driver max8907_regulator_driver = { static struct platform_driver max8907_regulator_driver = {
.driver = { .driver = {
.name = "max8907-regulator", .name = "max8907-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = max8907_regulator_probe, .probe = max8907_regulator_probe,
}; };
......
...@@ -263,6 +263,7 @@ static int max8925_regulator_probe(struct platform_device *pdev) ...@@ -263,6 +263,7 @@ static int max8925_regulator_probe(struct platform_device *pdev)
static struct platform_driver max8925_regulator_driver = { static struct platform_driver max8925_regulator_driver = {
.driver = { .driver = {
.name = "max8925-regulator", .name = "max8925-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = max8925_regulator_probe, .probe = max8925_regulator_probe,
}; };
......
...@@ -316,6 +316,7 @@ static struct i2c_driver max8952_pmic_driver = { ...@@ -316,6 +316,7 @@ static struct i2c_driver max8952_pmic_driver = {
.probe_new = max8952_pmic_probe, .probe_new = max8952_pmic_probe,
.driver = { .driver = {
.name = "max8952", .name = "max8952",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(max8952_dt_match), .of_match_table = of_match_ptr(max8952_dt_match),
}, },
.id_table = max8952_ids, .id_table = max8952_ids,
......
...@@ -804,6 +804,7 @@ MODULE_DEVICE_TABLE(i2c, max8973_id); ...@@ -804,6 +804,7 @@ MODULE_DEVICE_TABLE(i2c, max8973_id);
static struct i2c_driver max8973_i2c_driver = { static struct i2c_driver max8973_i2c_driver = {
.driver = { .driver = {
.name = "max8973", .name = "max8973",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_max8973_match_tbl, .of_match_table = of_max8973_match_tbl,
}, },
.probe_new = max8973_probe, .probe_new = max8973_probe,
......
...@@ -1197,6 +1197,7 @@ MODULE_DEVICE_TABLE(platform, max8997_pmic_id); ...@@ -1197,6 +1197,7 @@ MODULE_DEVICE_TABLE(platform, max8997_pmic_id);
static struct platform_driver max8997_pmic_driver = { static struct platform_driver max8997_pmic_driver = {
.driver = { .driver = {
.name = "max8997-pmic", .name = "max8997-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = max8997_pmic_probe, .probe = max8997_pmic_probe,
.id_table = max8997_pmic_id, .id_table = max8997_pmic_id,
......
...@@ -803,6 +803,7 @@ MODULE_DEVICE_TABLE(platform, max8998_pmic_id); ...@@ -803,6 +803,7 @@ MODULE_DEVICE_TABLE(platform, max8998_pmic_id);
static struct platform_driver max8998_pmic_driver = { static struct platform_driver max8998_pmic_driver = {
.driver = { .driver = {
.name = "max8998-pmic", .name = "max8998-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = max8998_pmic_probe, .probe = max8998_pmic_probe,
.id_table = max8998_pmic_id, .id_table = max8998_pmic_id,
......
...@@ -455,6 +455,7 @@ static int mc13783_regulator_probe(struct platform_device *pdev) ...@@ -455,6 +455,7 @@ static int mc13783_regulator_probe(struct platform_device *pdev)
static struct platform_driver mc13783_regulator_driver = { static struct platform_driver mc13783_regulator_driver = {
.driver = { .driver = {
.name = "mc13783-regulator", .name = "mc13783-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = mc13783_regulator_probe, .probe = mc13783_regulator_probe,
}; };
......
...@@ -629,6 +629,7 @@ static int mc13892_regulator_probe(struct platform_device *pdev) ...@@ -629,6 +629,7 @@ static int mc13892_regulator_probe(struct platform_device *pdev)
static struct platform_driver mc13892_regulator_driver = { static struct platform_driver mc13892_regulator_driver = {
.driver = { .driver = {
.name = "mc13892-regulator", .name = "mc13892-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = mc13892_regulator_probe, .probe = mc13892_regulator_probe,
}; };
......
...@@ -587,6 +587,7 @@ static struct i2c_driver mcp16502_drv = { ...@@ -587,6 +587,7 @@ static struct i2c_driver mcp16502_drv = {
.probe_new = mcp16502_probe, .probe_new = mcp16502_probe,
.driver = { .driver = {
.name = "mcp16502-regulator", .name = "mcp16502-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mcp16502_ids), .of_match_table = of_match_ptr(mcp16502_ids),
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &mcp16502_pm_ops, .pm = &mcp16502_pm_ops,
......
...@@ -237,6 +237,7 @@ MODULE_DEVICE_TABLE(i2c, mp5416_id); ...@@ -237,6 +237,7 @@ MODULE_DEVICE_TABLE(i2c, mp5416_id);
static struct i2c_driver mp5416_regulator_driver = { static struct i2c_driver mp5416_regulator_driver = {
.driver = { .driver = {
.name = "mp5416", .name = "mp5416",
.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_new = mp5416_i2c_probe,
......
...@@ -144,6 +144,7 @@ MODULE_DEVICE_TABLE(i2c, mp8859_i2c_id); ...@@ -144,6 +144,7 @@ MODULE_DEVICE_TABLE(i2c, mp8859_i2c_id);
static struct i2c_driver mp8859_regulator_driver = { static struct i2c_driver mp8859_regulator_driver = {
.driver = { .driver = {
.name = "mp8859", .name = "mp8859",
.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_new = mp8859_i2c_probe,
......
...@@ -362,6 +362,7 @@ MODULE_DEVICE_TABLE(i2c, mp886x_id); ...@@ -362,6 +362,7 @@ MODULE_DEVICE_TABLE(i2c, mp886x_id);
static struct i2c_driver mp886x_regulator_driver = { static struct i2c_driver mp886x_regulator_driver = {
.driver = { .driver = {
.name = "mp886x-regulator", .name = "mp886x-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = mp886x_dt_ids, .of_match_table = mp886x_dt_ids,
}, },
.probe_new = mp886x_i2c_probe, .probe_new = mp886x_i2c_probe,
......
...@@ -318,6 +318,7 @@ MODULE_DEVICE_TABLE(i2c, mpq7920_id); ...@@ -318,6 +318,7 @@ MODULE_DEVICE_TABLE(i2c, mpq7920_id);
static struct i2c_driver mpq7920_regulator_driver = { static struct i2c_driver mpq7920_regulator_driver = {
.driver = { .driver = {
.name = "mpq7920", .name = "mpq7920",
.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_new = mpq7920_i2c_probe,
......
...@@ -151,6 +151,7 @@ MODULE_DEVICE_TABLE(of, mt6311_dt_ids); ...@@ -151,6 +151,7 @@ MODULE_DEVICE_TABLE(of, mt6311_dt_ids);
static struct i2c_driver mt6311_regulator_driver = { static struct i2c_driver mt6311_regulator_driver = {
.driver = { .driver = {
.name = "mt6311", .name = "mt6311",
.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_new = mt6311_i2c_probe,
......
...@@ -287,6 +287,7 @@ static void mt6315_regulator_shutdown(struct spmi_device *pdev) ...@@ -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,
......
...@@ -409,6 +409,7 @@ MODULE_DEVICE_TABLE(platform, mt6323_platform_ids); ...@@ -409,6 +409,7 @@ MODULE_DEVICE_TABLE(platform, mt6323_platform_ids);
static struct platform_driver mt6323_regulator_driver = { static struct platform_driver mt6323_regulator_driver = {
.driver = { .driver = {
.name = "mt6323-regulator", .name = "mt6323-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = mt6323_regulator_probe, .probe = mt6323_regulator_probe,
.id_table = mt6323_platform_ids, .id_table = mt6323_platform_ids,
......
...@@ -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,
......
...@@ -439,6 +439,7 @@ MODULE_DEVICE_TABLE(platform, mt6357_platform_ids); ...@@ -439,6 +439,7 @@ MODULE_DEVICE_TABLE(platform, mt6357_platform_ids);
static struct platform_driver mt6357_regulator_driver = { static struct platform_driver mt6357_regulator_driver = {
.driver = { .driver = {
.name = "mt6357-regulator", .name = "mt6357-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = mt6357_regulator_probe, .probe = mt6357_regulator_probe,
.id_table = mt6357_platform_ids, .id_table = mt6357_platform_ids,
......
...@@ -733,6 +733,7 @@ MODULE_DEVICE_TABLE(platform, mt6358_platform_ids); ...@@ -733,6 +733,7 @@ MODULE_DEVICE_TABLE(platform, mt6358_platform_ids);
static struct platform_driver mt6358_regulator_driver = { static struct platform_driver mt6358_regulator_driver = {
.driver = { .driver = {
.name = "mt6358-regulator", .name = "mt6358-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = mt6358_regulator_probe, .probe = mt6358_regulator_probe,
.id_table = mt6358_platform_ids, .id_table = mt6358_platform_ids,
......
...@@ -982,6 +982,7 @@ MODULE_DEVICE_TABLE(platform, mt6359_platform_ids); ...@@ -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,
......
...@@ -446,6 +446,7 @@ MODULE_DEVICE_TABLE(platform, mt6360_regulator_id_table); ...@@ -446,6 +446,7 @@ MODULE_DEVICE_TABLE(platform, mt6360_regulator_id_table);
static struct platform_driver mt6360_regulator_driver = { static struct platform_driver mt6360_regulator_driver = {
.driver = { .driver = {
.name = "mt6360-regulator", .name = "mt6360-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = mt6360_regulator_probe, .probe = mt6360_regulator_probe,
.id_table = mt6360_regulator_id_table, .id_table = mt6360_regulator_id_table,
......
...@@ -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,
......
...@@ -328,6 +328,7 @@ MODULE_DEVICE_TABLE(of, mt6380_of_match); ...@@ -328,6 +328,7 @@ MODULE_DEVICE_TABLE(of, mt6380_of_match);
static struct platform_driver mt6380_regulator_driver = { static struct platform_driver mt6380_regulator_driver = {
.driver = { .driver = {
.name = "mt6380-regulator", .name = "mt6380-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mt6380_of_match), .of_match_table = of_match_ptr(mt6380_of_match),
}, },
.probe = mt6380_regulator_probe, .probe = mt6380_regulator_probe,
......
...@@ -406,6 +406,7 @@ MODULE_DEVICE_TABLE(of, mt6397_of_match); ...@@ -406,6 +406,7 @@ MODULE_DEVICE_TABLE(of, mt6397_of_match);
static struct platform_driver mt6397_regulator_driver = { static struct platform_driver mt6397_regulator_driver = {
.driver = { .driver = {
.name = "mt6397-regulator", .name = "mt6397-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mt6397_of_match), .of_match_table = of_match_ptr(mt6397_of_match),
}, },
.probe = mt6397_regulator_probe, .probe = mt6397_regulator_probe,
......
...@@ -194,6 +194,7 @@ static int dvfsrc_vcore_regulator_probe(struct platform_device *pdev) ...@@ -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,
}; };
......
...@@ -1666,6 +1666,7 @@ static int palmas_regulators_probe(struct platform_device *pdev) ...@@ -1666,6 +1666,7 @@ static int palmas_regulators_probe(struct platform_device *pdev)
static struct platform_driver palmas_driver = { static struct platform_driver palmas_driver = {
.driver = { .driver = {
.name = "palmas-pmic", .name = "palmas-pmic",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_palmas_match_tbl, .of_match_table = of_palmas_match_tbl,
}, },
.probe = palmas_regulators_probe, .probe = palmas_regulators_probe,
......
...@@ -231,6 +231,7 @@ static struct platform_driver pbias_regulator_driver = { ...@@ -231,6 +231,7 @@ static struct platform_driver pbias_regulator_driver = {
.probe = pbias_regulator_probe, .probe = pbias_regulator_probe,
.driver = { .driver = {
.name = "pbias-regulator", .name = "pbias-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(pbias_of_match), .of_match_table = of_match_ptr(pbias_of_match),
}, },
}; };
......
...@@ -872,6 +872,7 @@ MODULE_DEVICE_TABLE(of, pca9450_of_match); ...@@ -872,6 +872,7 @@ MODULE_DEVICE_TABLE(of, pca9450_of_match);
static struct i2c_driver pca9450_i2c_driver = { static struct i2c_driver pca9450_i2c_driver = {
.driver = { .driver = {
.name = "nxp-pca9450", .name = "nxp-pca9450",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = pca9450_of_match, .of_match_table = pca9450_of_match,
}, },
.probe_new = pca9450_i2c_probe, .probe_new = pca9450_i2c_probe,
......
...@@ -251,6 +251,7 @@ static int pcap_regulator_probe(struct platform_device *pdev) ...@@ -251,6 +251,7 @@ static int pcap_regulator_probe(struct platform_device *pdev)
static struct platform_driver pcap_regulator_driver = { static struct platform_driver pcap_regulator_driver = {
.driver = { .driver = {
.name = "pcap-regulator", .name = "pcap-regulator",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
.probe = pcap_regulator_probe, .probe = pcap_regulator_probe,
}; };
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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