Commit 6b610e00 authored by Wolfram Sang's avatar Wolfram Sang Committed by Tomi Valkeinen

video: fbdev: mb862xx: mb862xx-i2c: don't print error when adding adapter fails

Don't print error when adding adapter fails. The core will do this for
us now.
Signed-off-by: default avatarWolfram Sang <wsa-dev@sang-engineering.com>
[tomi.valkeinen@ti.com: fixed the description]
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 23658356
...@@ -162,12 +162,7 @@ int mb862xx_i2c_init(struct mb862xxfb_par *par) ...@@ -162,12 +162,7 @@ int mb862xx_i2c_init(struct mb862xxfb_par *par)
mb862xx_i2c_adapter.algo_data = par; mb862xx_i2c_adapter.algo_data = par;
par->adap = &mb862xx_i2c_adapter; par->adap = &mb862xx_i2c_adapter;
ret = i2c_add_adapter(par->adap); return i2c_add_adapter(par->adap);
if (ret < 0) {
dev_err(par->dev, "failed to add %s\n",
mb862xx_i2c_adapter.name);
}
return ret;
} }
void mb862xx_i2c_exit(struct mb862xxfb_par *par) void mb862xx_i2c_exit(struct mb862xxfb_par *par)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment