commit | 4f0a788dc892d62fabcfd61b289b6212bdedadfd | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Jun 04 11:36:25 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jun 05 13:47:32 2012 +0900 |
tree | 1d398654e33aafb645a9af7e9b515df8d28dbf54 | |
parent | 4468cb552536731fd85f22a367602e9242a55376 [diff] |
staging:iio:dac:ad5504: Check if IRQ was requested before freeing it IRQ support is optional, so we have to check whether it was actually requested before we attempt to free it. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>