From: anantha Date: Tue, 26 Oct 2010 21:22:41 +0000 (-0700) Subject: drivers/misc/apds9802als.c: ALS drivers for the apds9802als X-Git-Tag: v2.6.37-rc1~105^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22d96aa59cf120db3584e4c3365554cae77d2441;p=pandora-kernel.git drivers/misc/apds9802als.c: ALS drivers for the apds9802als This adds support for the ADPS9802ALS sensor. Cleanup by Alan Cox - move mutexes to cover more things - report I/O errors back to user space - report range and values in LUX Signed-off-by: Anantha Narayanan [The 4K and 64K in the hw spec actually means 4095 (12bit) and 65535 (16bit).] Signed-off-by: Hong Liu [Updated to match the ALS light API interface convention from Samu] Signed-off-by: Alan Cox Acked-by: Jonathan Cameron Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed