Skip to content
Snippets Groups Projects
Commit d341a640 authored by Inki Dae's avatar Inki Dae Committed by Archit Taneja
Browse files

drm/bridge: sii902x: clean up drm_bridge_add call

parent d0ceb3ec
No related branches found
No related tags found
No related merge requests found
......@@ -418,11 +418,7 @@ static int sii902x_probe(struct i2c_client *client,
sii902x->bridge.funcs = &sii902x_bridge_funcs;
sii902x->bridge.of_node = dev->of_node;
ret = drm_bridge_add(&sii902x->bridge);
if (ret) {
dev_err(dev, "Failed to add drm_bridge\n");
return ret;
}
drm_bridge_add(&sii902x->bridge);
i2c_set_clientdata(client, sii902x);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment