Skip to content

Commit

Permalink
staging:iio:light:tsl2583 allocate chip state with iio_dev
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent 355e25c commit e05e5f2
Showing 1 changed file with 101 additions and 115 deletions.
Loading

0 comments on commit e05e5f2

Please sign in to comment.