regulator: qcom_smd: add regulator ops for pm8941 lnldo
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 3 Jun 2016 11:23:09 +0000 (12:23 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jun 2016 10:59:25 +0000 (11:59 +0100)
commitd1e44b6b2823f1751ffe7e7589f545f05cfe2095
tree11562334b3ba169da2111a64c412a244f5620a40
parenta8a47540ebe32f1733eebc3e5699af580ceaa3f5
regulator: qcom_smd: add regulator ops for pm8941 lnldo

After "regulator: qcom_smd: add list_voltage callback" patch adding
pm8941 lnldo regulators would bug on list_voltages as it is a fixed
regulator without any linear range.
This patch fixes that issue by adding dedicated ops for pm8941 lnldo
without list_voltages callback.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org # v4.6
drivers/regulator/qcom_smd-regulator.c