Message ID | 1470742232-12559-3-git-send-email-wsa-dev@sang-engineering.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c b/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c index 33c9e1bdb114b8..ca4caf924deb81 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c +++ b/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c @@ -310,10 +310,8 @@ static int mtk_hdmi_ddc_probe(struct platform_device *pdev) ddc->adap.dev.parent = &pdev->dev; ret = i2c_add_adapter(&ddc->adap); - if (ret < 0) { - dev_err(dev, "failed to add bus to i2c core\n"); + if (ret < 0) goto err_clk_disable; - } platform_set_drvdata(pdev, ddc);
The core will do this for us now. Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com> --- drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)