From: Urs Fässler Date: Mon, 2 Feb 2015 16:12:23 +0000 (+0100) Subject: iio: ad5686: fix optional reference voltage declaration X-Git-Tag: omap-for-v4.1/wl12xx-dt~47^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da019f59cb16570e78feaf10380ac65a3a06861e;p=pandora-kernel.git iio: ad5686: fix optional reference voltage declaration When not using the "_optional" function, a dummy regulator is returned and the driver fails to initialize. Signed-off-by: Urs Fässler Acked-by: Lars-Peter Clausen Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed