From: Roberta Dobrescu Date: Thu, 16 Apr 2015 19:20:59 +0000 (+0300) Subject: staging: iio: light: isl29018: Use standard sysfs attributes for scale and integratio... X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~761^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6920ccf65d0964f7f6c6c36c551151e0fcd62327;p=pandora-kernel.git staging: iio: light: isl29018: Use standard sysfs attributes for scale and integration time This patch refactors the isl29018 driver code in order to use standard sysfs attributes for scale and integration time. ISL29018 light sensor uses four ranges and four ADC's resolutions which influence the calculated lux. Adc resolution is strongly connected to integration time and range should be controlled by scale. This patch introduces the usage of integration time and scale instead of adc resolution and range. Signed-off-by: Roberta Dobrescu Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed