[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: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Wolfram Sang 2016-08-09 08:35:15 -03:00 committed by Mauro Carvalho Chehab
parent ed90013e40
commit c7930f37c1
1 changed files with 1 additions and 4 deletions

View File

@ -56,11 +56,8 @@ static int fimc_is_i2c_probe(struct platform_device *pdev)
i2c_adap->class = I2C_CLASS_SPD; i2c_adap->class = I2C_CLASS_SPD;
ret = i2c_add_adapter(i2c_adap); ret = i2c_add_adapter(i2c_adap);
if (ret < 0) { if (ret < 0)
dev_err(&pdev->dev, "failed to add I2C bus %s\n",
node->full_name);
return ret; return ret;
}
platform_set_drvdata(pdev, isp_i2c); platform_set_drvdata(pdev, isp_i2c);