Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 830dcb44 authored by Inki Dae's avatar Inki Dae Committed by Archit Taneja
Browse files

drm/bridge: nxp-ptn3460: clean up drm_bridge_add call

parent 47e34278
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -332,11 +332,7 @@ static int ptn3460_probe(struct i2c_client *client,

	ptn_bridge->bridge.funcs = &ptn3460_bridge_funcs;
	ptn_bridge->bridge.of_node = dev->of_node;
	ret = drm_bridge_add(&ptn_bridge->bridge);
	if (ret) {
		DRM_ERROR("Failed to add bridge\n");
		return ret;
	}
	drm_bridge_add(&ptn_bridge->bridge);

	i2c_set_clientdata(client, ptn_bridge);