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>
Thu, 2 May 2013 18:54:24 +0000 (19:54 +0100)
commitd98642c3eebddac508ed0dcd9ae3951126ef1501
tree1a1b17a33b7da846beabff80a6552d01e8d5ad52
parentc48cd659892962f79bba4b4e0eedea8e5aa54c44
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