mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-10-26 10:57:38 +08:00
drm/bridge: lontium-lt8713sx: Drop redundant bridge funcs assignment
The driver already allocates its private data via devm_drm_bridge_alloc(), which initializes the bridge funcs pointer. Remove the leftover manual assignment in the probe function. Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Acked-by: Maxime Ripard <mripard@kernel.org> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://patch.msgid.link/20261001-bridge-alloc-conv-v1-2-f0a1fe040a86@collabora.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
This commit is contained in:
1 parent
5c0cdbee4f
commit
382c1e8ba4
1 file changed
-1
@@ -554,7 +554,6 @@ static int lt8713sx_probe(struct i2c_client *client)
|
||||
|
||||
lt8713sx_reset(lt8713sx);
|
||||
|
||||
lt8713sx->bridge.funcs = <8713sx_bridge_funcs;
|
||||
lt8713sx->bridge.of_node = dev->of_node;
|
||||
lt8713sx->bridge.type = DRM_MODE_CONNECTOR_DisplayPort;
|
||||
drm_bridge_add(<8713sx->bridge);
|
||||
|
||||
Reference in new issue
Block a user