ath10k: add missing braces to ath10k_pci_tx_pipe_cleanup
[cascardo/linux.git] / drivers / video / mxsfb.c
index 21223d4..3ba3771 100644 (file)
@@ -899,7 +899,6 @@ static int mxsfb_probe(struct platform_device *pdev)
 
        host->base = devm_ioremap_resource(&pdev->dev, res);
        if (IS_ERR(host->base)) {
-               dev_err(&pdev->dev, "ioremap failed\n");
                ret = PTR_ERR(host->base);
                goto fb_release;
        }
@@ -986,8 +985,6 @@ static int mxsfb_remove(struct platform_device *pdev)
 
        framebuffer_release(fb_info);
 
-       platform_set_drvdata(pdev, NULL);
-
        return 0;
 }