summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-uniphier.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-09 23:11:40 +0300
committerWolfram Sang <wsa@the-dreams.de>2016-08-22 09:19:56 +0300
commit56025e7bc2079cda92643b43bf26991d3d09717d (patch)
tree7a10dcf180fbce1b102fbc3a6e8b6eede9d7e116 /drivers/i2c/busses/i2c-uniphier.c
parentea734404f3daf1f6b5103171d848c9d4641fd96b (diff)
downloadlinux-56025e7bc2079cda92643b43bf26991d3d09717d.tar.xz
i2c: uniphier{-f}: 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> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-uniphier.c')
-rw-r--r--drivers/i2c/busses/i2c-uniphier.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/i2c/busses/i2c-uniphier.c b/drivers/i2c/busses/i2c-uniphier.c
index 475a5eb514e2..d6e612a0e02a 100644
--- a/drivers/i2c/busses/i2c-uniphier.c
+++ b/drivers/i2c/busses/i2c-uniphier.c
@@ -407,11 +407,6 @@ static int uniphier_i2c_probe(struct platform_device *pdev)
}
ret = i2c_add_adapter(&priv->adap);
- if (ret) {
- dev_err(dev, "failed to add I2C adapter\n");
- goto err;
- }
-
err:
if (ret)
clk_disable_unprepare(priv->clk);