From: Rhyland Klein Date: Thu, 7 Oct 2010 22:48:09 +0000 (-0700) Subject: staging: iio: light: Adding driver for ISL29018 ALS X-Git-Tag: v2.6.37-rc1~60^2~3^2~269 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=940428742ed208836feb715fffd7cbc006fec3cb;p=pandora-kernel.git staging: iio: light: Adding driver for ISL29018 ALS adding support for the ISL 29018 ambient light and proximity sensor. Addressed comments from reviews by Jonathan Cameron and Joe Perches * Removed some excess dbg prints that only printed function name * Renamed some properties to make them more descriptive * Added a property to list available adc resolutions * Defined arrays for resolutions/ranges as static const * Change loops initialization to memset for extensibility. * used sizeof() instead of ARRAY_SIZE() to be safer * Added a property to list available adc ranges * Fixed warnings and property names. Signed-off-by: Rhyland Klein Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed