]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: remove unnecessary use of IS_ERR_VALUE()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 13 Mar 2013 20:50:02 +0000 (20:50 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 2 May 2013 18:54:25 +0000 (19:54 +0100)
commit49ad18ca2a74ecd1bab61be3e9a24b0109c08dd3
tree5267e9bbf22b7d7461b9481690ddb3465b8c0e57
parent594fba8c54a3669acc6afbf7e8a4b1992abd198e
ARM: EXYNOS: remove unnecessary use of IS_ERR_VALUE()

s5p_register_gpio_interrupt() returns 0 or positive for success, and
-ve for errors, so just use the standard >= 0 test.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-exynos/mach-nuri.c