OSDN Git Service

Merge branches 'pci/host-dra7xx', 'pci/host-imx6' and 'pci/host-spear' into next
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / drivers / pci / host / pci-dra7xx.c
index 52e2da7..199e29a 100644 (file)
@@ -396,7 +396,7 @@ static int __init dra7xx_pcie_probe(struct platform_device *pdev)
 
        pm_runtime_enable(dev);
        ret = pm_runtime_get_sync(dev);
-       if (IS_ERR_VALUE(ret)) {
+       if (ret < 0) {
                dev_err(dev, "pm_runtime_get_sync failed\n");
                goto err_get_sync;
        }