diff options
author | Jonathan Cameron <jic23@kernel.org> | 2012-04-10 20:11:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-10 20:26:33 (GMT) |
commit | 487db48506513fa80138951f081db3d12b36b7e1 (patch) | |
tree | cf87cdbcef5b898265664898a57b4eff7ec91cc0 /sound/core | |
parent | 8b1f52278f544af608d576e8db2b79ed651a9414 (diff) | |
download | linux-fsl-qoriq-487db48506513fa80138951f081db3d12b36b7e1.tar.xz |
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>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions