Commit d341a640 authored by Inki Dae's avatar Inki Dae Committed by Archit Taneja

drm/bridge: sii902x: clean up drm_bridge_add call

This patch removes unnecessary checking of return value.
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1499071350-25168-9-git-send-email-inki.dae@samsung.com
parent d0ceb3ec
...@@ -418,11 +418,7 @@ static int sii902x_probe(struct i2c_client *client, ...@@ -418,11 +418,7 @@ static int sii902x_probe(struct i2c_client *client,
sii902x->bridge.funcs = &sii902x_bridge_funcs; sii902x->bridge.funcs = &sii902x_bridge_funcs;
sii902x->bridge.of_node = dev->of_node; sii902x->bridge.of_node = dev->of_node;
ret = drm_bridge_add(&sii902x->bridge); drm_bridge_add(&sii902x->bridge);
if (ret) {
dev_err(dev, "Failed to add drm_bridge\n");
return ret;
}
i2c_set_clientdata(client, sii902x); i2c_set_clientdata(client, sii902x);
......
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