commit | 8b1f52278f544af608d576e8db2b79ed651a9414 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@kernel.org> | Tue Apr 10 21:11:08 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 10 13:26:33 2012 -0700 |
tree | fb4138fdb1c98733d1b134ece62b79c9d8467a4b | |
parent | 0b27d678c7fbeb88ab07b890b09c32a83121d9d6 [diff] |
staging:iio:accel:lis3l02dq add symmetry to check for presence of trigger. Checking indio_dev->modes is uggly and not symmetric with the conditions on whether triggers are allowed in the first place. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>