]> asedeno.scripts.mit.edu Git - linux.git/commit
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>
Mon, 13 Jun 2016 08:51:35 +0000 (09:51 +0100)
commit3bfbb4d1a480cc17f6ccfce13b76eb6c0dbeaf8c
tree25dc7aa22f5106e83fd237913cfe2e6f8a1b7ea5
parentd1e44b6b2823f1751ffe7e7589f545f05cfe2095
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>
drivers/regulator/qcom_smd-regulator.c