]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: relocate error-check from isr to registration
authorTim Sell <Timothy.Sell@unisys.com>
Mon, 9 Jan 2017 18:02:22 +0000 (13:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:29:46 +0000 (17:29 +0100)
commitf1d4083a12d0c4068abad8cd44ad7950242e7e51
tree0df128ba8a9922f25d197d09f2da28558e9d1d0c
parent4a04aa62c524121e50b1263e7dde223995c08778
staging: unisys: visorbus: relocate error-check from isr to registration

It just makes more sense to do the NULL-pointer check when the function is
called to enable interrupts, rather than on *every* interrupt.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c