From: Tiberiu Breana Date: Wed, 1 Jul 2015 12:32:00 +0000 (+0300) Subject: iio: light: STK3310: un-invert proximity values X-Git-Tag: omap-for-v4.3/fixes-merge-window~229^2~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0484edadfae3202ab165a2bff4936b80bcf1bebf;p=pandora-kernel.git iio: light: STK3310: un-invert proximity values In accordance with the recent proximity ABI changes, STK3310's proximity readings should be un-inversed in order to return low values for far-away objects and high values for close ones. As consequences of this change, iio event directions have been switched and maximum proximity sensor reference values have also been adjusted in accordance with the real readings. Signed-off-by: Tiberiu Breana Acked-by: Hartmut Knaack Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed