Skip to content
Commit e2d86807 authored by Moritz Fischer's avatar Moritz Fischer Committed by Greg Kroah-Hartman
Browse files

fpga: socfpga: Fix check of return value of devm_request_irq



The return value should be checked for non-zero, instead
of checking it being IS_ERR_VALUE().

Acked-by: default avatarAlan Tull <atull@opensource.altera.com>
Reviewed-by: default avatarJosh Cartwright <joshc@eso.teric.us>
Signed-off-by: default avatarMoritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2cb202c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment