commit | e05e5f2336a94f127553c947dcfe2ce15f2c5f9a | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Fri Aug 12 17:08:52 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Aug 23 13:31:12 2011 -0700 |
tree | c0ff43619e0338a8584ba7a243beb9c6a5a3632a | |
parent | 355e25c1de7c87e3629cdcb11c2f95719b5ed807 [diff] |
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 <jic23@cam.ac.uk> Tested-by: Jon Brenner <jbrenner@TAOSinc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>