]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-tegra/tegra2_emc.c
Merge branch 'cleanup' into for-linus
[karo-tx-linux.git] / arch / arm / mach-tegra / tegra2_emc.c
index ce7ce42a1ac97b5ec8724181c0a03436e9377c45..9e8bdfa2b36915e4db7a8352753626e7f41b682e 100644 (file)
@@ -276,7 +276,7 @@ static struct tegra_emc_pdata *tegra_emc_fill_pdata(struct platform_device *pdev
        int i;
 
        WARN_ON(pdev->dev.platform_data);
-       BUG_ON(IS_ERR_OR_NULL(c));
+       BUG_ON(IS_ERR(c));
 
        pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL);
        pdata->tables = devm_kzalloc(&pdev->dev, sizeof(*pdata->tables),