Bluetooth: hci_qca: Update regulator_set_load() usage
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 18 Oct 2019 05:24:01 +0000 (22:24 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Oct 2019 09:12:20 +0000 (11:12 +0200)
commitc29ff107e0bdf2911813dbae3e5808c5912cdff6
tree72e87a48a42c588de8203862f25394b687d31ee5
parentcde9dde6e11a5ab54b6462cd46d82878926783bc
Bluetooth: hci_qca: Update regulator_set_load() usage

Since the introduction of '5451781dadf8 ("regulator: core: Only count
load for enabled consumers")' in v5.0, the requested load of a regulator
consumer is only accounted for when said consumer is voted enabled.

So there's no need to vote for load ever time the regulator is
enabled or disabled.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c