From: Bryan Freed Date: Tue, 28 Jun 2011 23:46:33 +0000 (-0700) Subject: staging: iio: light sensor: Add a calibscale file to the isl29018 light sensor driver. X-Git-Tag: v3.1-rc1~232^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d1ad0f8aa9d3caf6e3f26ad39b43c687abd9c82;p=pandora-kernel.git staging: iio: light sensor: Add a calibscale file to the isl29018 light sensor driver. Defaulting to 1, this gives a way to amplify the lux value before being reduced by the programmed adc_bit shift. Only support whole numbers right now. When this driver is converted to the new IIO_CHAN framework, it will be easy to support the framework's pseudo float. Add illuminance0_calibscale documentation to sysfs-bus-iio-light. Signed-off-by: Bryan Freed Acked-by: Rhyland Klein Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed