From: Lars-Peter Clausen Date: Mon, 10 Sep 2012 08:34:00 +0000 (+0100) Subject: staging:iio:ad7476: Rework reference voltage handling X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~161^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb093e444fede72c1ee31265dac475dc87ff321b;p=pandora-kernel.git staging:iio:ad7476: Rework reference voltage handling Slightly rework the reference voltage handling for the ad7476 driver. Now the only way to specify a external reference voltage is to use the regulator API, previously it was possible to use either platform_data or the regulator API. The new way is more consistent with what other drivers do. Also do not ignore errors when requesting the regulator, since this will cope very poorly with e.g. deferred probing. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed