commit | 487db48506513fa80138951f081db3d12b36b7e1 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@kernel.org> | Tue Apr 10 21:11:09 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 10 13:26:33 2012 -0700 |
tree | cf87cdbcef5b898265664898a57b4eff7ec91cc0 | |
parent | 8b1f52278f544af608d576e8db2b79ed651a9414 [diff] |
staging:iio: use spi->irq valid rather than querying available modes Given these drivers only try to add the trigger if a valid irq is present it is clearer to check the same condition when deciding whether to remove it on a later trigger. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>