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

drm/bridge: tc358767: 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-11-git-send-email-inki.dae@samsung.com
parent b678682e
...@@ -1325,11 +1325,7 @@ static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id) ...@@ -1325,11 +1325,7 @@ static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id)
tc->bridge.funcs = &tc_bridge_funcs; tc->bridge.funcs = &tc_bridge_funcs;
tc->bridge.of_node = dev->of_node; tc->bridge.of_node = dev->of_node;
ret = drm_bridge_add(&tc->bridge); drm_bridge_add(&tc->bridge);
if (ret) {
dev_err(dev, "Failed to add drm_bridge: %d\n", ret);
goto err_unregister_aux;
}
i2c_set_clientdata(client, tc); i2c_set_clientdata(client, tc);
......
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