aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-03-13 16:50:02 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-05-02 14:54:25 -0400
commit008ca431822f39a023322b3598d8366faf46cfc1 (patch)
tree5267e9bbf22b7d7461b9481690ddb3465b8c0e57 /arch/arm/mach-exynos
parentd98642c3eebddac508ed0dcd9ae3951126ef1501 (diff)
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>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/mach-nuri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c
index 27d4ed8b116e..b0398575fa65 100644
--- a/arch/arm/mach-exynos/mach-nuri.c
+++ b/arch/arm/mach-exynos/mach-nuri.c
@@ -1252,7 +1252,7 @@ static void __init nuri_camera_init(void)
1252 } 1252 }
1253 1253
1254 m5mols_board_info.irq = s5p_register_gpio_interrupt(GPIO_CAM_8M_ISP_INT); 1254 m5mols_board_info.irq = s5p_register_gpio_interrupt(GPIO_CAM_8M_ISP_INT);
1255 if (!IS_ERR_VALUE(m5mols_board_info.irq)) 1255 if (m5mols_board_info.irq >= 0)
1256 s3c_gpio_cfgpin(GPIO_CAM_8M_ISP_INT, S3C_GPIO_SFN(0xF)); 1256 s3c_gpio_cfgpin(GPIO_CAM_8M_ISP_INT, S3C_GPIO_SFN(0xF));
1257 else 1257 else
1258 pr_err("%s: Failed to configure 8M_ISP_INT GPIO\n", __func__); 1258 pr_err("%s: Failed to configure 8M_ISP_INT GPIO\n", __func__);