]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging:iio:dac:ad5504: Check if IRQ was requested before freeing it
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 4 Jun 2012 09:36:25 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 04:47:32 +0000 (13:47 +0900)
commit4f0a788dc892d62fabcfd61b289b6212bdedadfd
tree1d398654e33aafb645a9af7e9b515df8d28dbf54
parent4468cb552536731fd85f22a367602e9242a55376
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>
drivers/staging/iio/dac/ad5504.c