diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-09 13:35:15 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-24 18:37:35 +0200 |
commit | c7930f37c1300d7ca4d8ee1b80ca28c3d889c255 (patch) | |
tree | d8a8c4d9c18319deac604449cd530d2878e8c6c0 /drivers/media/platform/exynos4-is | |
parent | [media] s5p-mfc: Remove deprecated create_singlethread_workqueue (diff) | |
download | linux-c7930f37c1300d7ca4d8ee1b80ca28c3d889c255.tar.xz linux-c7930f37c1300d7ca4d8ee1b80ca28c3d889c255.zip |
[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>
Diffstat (limited to 'drivers/media/platform/exynos4-is')
-rw-r--r-- | drivers/media/platform/exynos4-is/fimc-is-i2c.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-is-i2c.c b/drivers/media/platform/exynos4-is/fimc-is-i2c.c index 7521aa59b064..fd888ef447a9 100644 --- a/drivers/media/platform/exynos4-is/fimc-is-i2c.c +++ b/drivers/media/platform/exynos4-is/fimc-is-i2c.c @@ -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); |