diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-08-12 17:56:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 13:34:24 -0700 |
commit | c4b14d99bbc93c9fa03b5934a07e95594efe7a93 (patch) | |
tree | e1e3e9980a1def02b67d2f861b58616561a7bd62 /drivers/staging/iio/light | |
parent | df9c1c42c26f9a516dd44c956cff301741a0884e (diff) | |
download | linux-stable-c4b14d99bbc93c9fa03b5934a07e95594efe7a93.tar.gz linux-stable-c4b14d99bbc93c9fa03b5934a07e95594efe7a93.tar.bz2 linux-stable-c4b14d99bbc93c9fa03b5934a07e95594efe7a93.zip |
staging:iio:events: use IIO_<TYPE> and IIO_MOD_<> instead of IIO_EV_CLASS_<TYPE> etc
The original definitions were duplicated to reduce tree churn during introduction of chan_spec
registration. Now there is no point in maintaining the two sets of definitions.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/light')
-rw-r--r-- | drivers/staging/iio/light/tsl2563.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/light/tsl2563.c b/drivers/staging/iio/light/tsl2563.c index bb96857f33f4..665a7441b2ee 100644 --- a/drivers/staging/iio/light/tsl2563.c +++ b/drivers/staging/iio/light/tsl2563.c @@ -596,7 +596,7 @@ static irqreturn_t tsl2563_event_handler(int irq, void *private) struct tsl2563_chip *chip = iio_priv(dev_info); iio_push_event(dev_info, 0, - IIO_UNMOD_EVENT_CODE(IIO_EV_CLASS_LIGHT, + IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, IIO_EV_TYPE_THRESH, IIO_EV_DIR_EITHER), |