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
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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);