ARM: IMX: remove unnecessary use of IS_ERR_VALUE()
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-imx / devices / devices.c
index 1b37482407f911461846fc95f0528a1ed2fc6b70..1b4366a0e7c04b14ac986d136e197a9ffc4468c3 100644 (file)
@@ -37,7 +37,7 @@ int __init mxc_device_init(void)
        int ret;
 
        ret = device_register(&mxc_aips_bus);
-       if (IS_ERR_VALUE(ret))
+       if (ret < 0)
                goto done;
 
        ret = device_register(&mxc_ahb_bus);