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: Wolfram Sang <wsa-dev@sang-engineering.com>
[tomi.valkeinen@ti.com: fixed the description]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Wolfram Sang 2016-08-09 13:27:39 +02:00 committed by Tomi Valkeinen
parent 2365835666
commit 6b610e004b

View File

@ -162,12 +162,7 @@ int mb862xx_i2c_init(struct mb862xxfb_par *par)
mb862xx_i2c_adapter.algo_data = par;
par->adap = &mb862xx_i2c_adapter;
ret = i2c_add_adapter(par->adap);
if (ret < 0) {
dev_err(par->dev, "failed to add %s\n",
mb862xx_i2c_adapter.name);
}
return ret;
return i2c_add_adapter(par->adap);
}
void mb862xx_i2c_exit(struct mb862xxfb_par *par)