]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: IMX: remove unnecessary use of IS_ERR_VALUE()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 13 Mar 2013 20:49:10 +0000 (20:49 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 13 Mar 2013 20:49:10 +0000 (20:49 +0000)
commit4e6284c926be37356938034aedbdc9a0e58a28d4
tree9aec4681c6bfadadd277528e48fc60e8c31fc558
parent71856843fb1d8ee455a4c1a60696c74afa4809e5
ARM: IMX: remove unnecessary use of IS_ERR_VALUE()

device_register() returns -ve values for errors, and zero for success.
There's no need to obfuscate the code with IS_ERR_VALUE().

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