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

drm/bridge: ps8622: clean up drm_bridge_add call

parent 3a45d25d
No related branches found
No related tags found
No related merge requests found
......@@ -598,11 +598,7 @@ static int ps8622_probe(struct i2c_client *client,
ps8622->bridge.funcs = &ps8622_bridge_funcs;
ps8622->bridge.of_node = dev->of_node;
ret = drm_bridge_add(&ps8622->bridge);
if (ret) {
DRM_ERROR("Failed to add bridge\n");
return ret;
}
drm_bridge_add(&ps8622->bridge);
i2c_set_clientdata(client, ps8622);
......
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