Skip to content

Commit

Permalink
staging:iio: tsl2563 abi fixes and interrupt handling
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Jul 8, 2010
1 parent 3bbb49a commit 388be48
Show file tree
Hide file tree
Showing 2 changed files with 300 additions and 96 deletions.
7 changes: 1 addition & 6 deletions drivers/staging/iio/light/light.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

/* Light to digital sensor attributes */

#define IIO_DEV_ATTR_LIGHT_INFRARED(_num, _show, _addr) \
IIO_DEVICE_ATTR(light_infrared##_num, S_IRUGO, _show, NULL, _addr)
#define IIO_EVENT_CODE_LIGHT_THRESH IIO_EVENT_CODE_LIGHT_BASE

#define IIO_DEV_ATTR_LIGHT_BROAD(_num, _show, _addr) \
IIO_DEVICE_ATTR(light_broadspectrum##_num, S_IRUGO, _show, NULL, _addr)

#define IIO_DEV_ATTR_LIGHT_VISIBLE(_num, _show, _addr) \
IIO_DEVICE_ATTR(light_visible##_num, S_IRUGO, _show, NULL, _addr)
Loading

0 comments on commit 388be48

Please sign in to comment.