regulator: qcom_smd: add list_voltage callback
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 2 Jun 2016 10:23:15 +0000 (11:23 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jun 2016 10:59:00 +0000 (11:59 +0100)
commita8a47540ebe32f1733eebc3e5699af580ceaa3f5
tree4146658a82b199546e550914df39eb0d03afd7d1
parent1a695a905c18548062509178b98bc91e67510864
regulator: qcom_smd: add list_voltage callback

This patch adds support to list_voltage callback, so that consumers
like mmc core, can get information of supported voltage range.

Without this patch there is no way for mmc core to know this voltage range.

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