From: Bryan Freed Date: Tue, 21 Jun 2011 22:54:57 +0000 (-0700) Subject: iio: light sensor: Fix a panic in the tsl2563 driver. X-Git-Tag: v3.1-rc1~232^2~432 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e4216fd6a547261c54bede60108347646c95a69;p=pandora-kernel.git iio: light sensor: Fix a panic in the tsl2563 driver. Add the required read/write_raw functions to the tsl2563_info_no_irq data structure. This structure is used insted of tsl2563_info when the I2C client has no IRQ. The absence of these functions causes a panic when reading or writing the created sysfs files. Signed-off-by: Bryan Freed Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed