From: Jonathan Cameron Date: Fri, 12 Aug 2011 16:08:52 +0000 (+0100) Subject: staging:iio:light:tsl2583 allocate chip state with iio_dev X-Git-Tag: v3.2-rc1~169^2^2~864^2~231 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e05e5f2336a94f127553c947dcfe2ce15f2c5f9a;p=pandora-kernel.git staging:iio:light:tsl2583 allocate chip state with iio_dev There are some unusual corners in the probe function of this driver, so may need another look. V2: Now with the check for allocation success not inverted. V3: Now with the i2c devdata calls actually being correctly cast. Signed-off-by: Jonathan Cameron Tested-by: Jon Brenner Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed