From: Mark Brown Date: Wed, 10 Nov 2010 14:38:29 +0000 (+0000) Subject: regulator: Report actual configured voltage to set_voltage() X-Git-Tag: v2.6.38-rc1~242^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a93f2a9f4d8f73d74c0e552feb68a10f778a219;p=pandora-kernel.git regulator: Report actual configured voltage to set_voltage() Change the interface used by set_voltage() to report the selected value to the regulator core in terms of a selector used by list_voltage(). This allows the regulator core to know the voltage that was chosen without having to do an explict get_voltage(), which would be much more expensive as it will generally access hardware. Signed-off-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed