diff options
author | Douglas Anderson <[email protected]> | 2022-07-26 10:38:21 -0700 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-07-27 13:47:29 +0100 |
commit | 6eabfc018e8d1033e7fc1efce30a872e2dccb537 (patch) | |
tree | d1899415ff06db6bbaa5329d51e2e9a81684435a /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) |
regulator: core: Allow specifying an initial load w/ the bulk API
There are a number of drivers that follow a pattern that looks like
this:
1. Use the regulator bulk API to get a bunch of regulators.
2. Set the load on each of the regulators to use whenever the
regulators are enabled.
Let's make this easier by just allowing the drivers to pass the load
in.
As part of this change we need to move the error printing in
regulator_bulk_get() around; let's switch to the new dev_err_probe()
to simplify it.
Signed-off-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/20220726103631.v2.4.Ie85f68215ada39f502a96dcb8a1f3ad977e3f68a@changeid
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions