提交 c7930f37 编写于 作者: W Wolfram Sang 提交者: Mauro Carvalho Chehab

[media] exynos4-is: fimc-is-i2c: don't print error when adding adapter fails

The core will do this for us now.
Signed-off-by: NWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 ed90013e
......@@ -56,11 +56,8 @@ static int fimc_is_i2c_probe(struct platform_device *pdev)
i2c_adap->class = I2C_CLASS_SPD;
ret = i2c_add_adapter(i2c_adap);
if (ret < 0) {
dev_err(&pdev->dev, "failed to add I2C bus %s\n",
node->full_name);
if (ret < 0)
return ret;
}
platform_set_drvdata(pdev, isp_i2c);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册