mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 18:44:44 +08:00
drm/bridge: ps8622: clean up drm_bridge_add call
This patch removes unnecessary checking of return value. Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Archit Taneja <architt@codeaurora.org> Link: http://patchwork.freedesktop.org/patch/msgid/1499071350-25168-8-git-send-email-inki.dae@samsung.com
This commit is contained in:
parent
3a45d25dcf
commit
d0ceb3ec4a
@ -598,11 +598,7 @@ static int ps8622_probe(struct i2c_client *client,
|
|||||||
|
|
||||||
ps8622->bridge.funcs = &ps8622_bridge_funcs;
|
ps8622->bridge.funcs = &ps8622_bridge_funcs;
|
||||||
ps8622->bridge.of_node = dev->of_node;
|
ps8622->bridge.of_node = dev->of_node;
|
||||||
ret = drm_bridge_add(&ps8622->bridge);
|
drm_bridge_add(&ps8622->bridge);
|
||||||
if (ret) {
|
|
||||||
DRM_ERROR("Failed to add bridge\n");
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
i2c_set_clientdata(client, ps8622);
|
i2c_set_clientdata(client, ps8622);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user