From: Mark Brown Date: Thu, 9 Aug 2012 15:42:19 +0000 (+0100) Subject: regulator: core: Use list_voltage() to read single voltage regulators X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~106^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7df20ec32;p=pandora-kernel.git regulator: core: Use list_voltage() to read single voltage regulators If the regulator doesn't supply a way of reading back the voltage but does provide a list_voltage() operation then use that with a selector of zero to read the voltage. Regulators doing this means that we have the list operation there for consumers that want to configure themselves. Reported-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed