diff options
author | 2019-10-17 22:24:03 -0700 | |
---|---|---|
committer | 2019-10-17 11:12:20 +0200 | |
commit | 163d42fa83c6090071698533d33babd7bbf97147 (patch) | |
tree | fdde62ab2e6317fc85e1ea5d7fe8647cec8328cd /init | |
parent | Bluetooth: hci_qca: Don't vote for specific voltage (diff) | |
download | linux-dev-163d42fa83c6090071698533d33babd7bbf97147.tar.xz linux-dev-163d42fa83c6090071698533d33babd7bbf97147.zip |
Bluetooth: hci_qca: Use regulator bulk enable/disable
With the regulator_set_load() and regulator_set_voltage() out of the
enable/disable code paths the code can now use the standard
regulator bulk enable/disable API.
By cloning num_vregs into struct qca_power there's no need to lug around
a reference to the struct qca_vreg_data, which further simplifies
qca_power_setup().
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions