mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
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:
parent
2365835666
commit
6b610e004b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user