[PATCH 5/5] drm/bridge: lt9611c: clean up probe error and remove paths

From: mohit . dsor

Date: Sat Jun 27 2026 - 16:45:48 EST


From: Mohit Dsor <mohit.dsor@xxxxxxxxxxxxxxxx>

Remove redundant cleanup of IRQ and bridge resources.

Signed-off-by: Mohit Dsor <mohit.dsor@xxxxxxxxxxxxxxxx>
---
drivers/gpu/drm/bridge/lontium-lt9611c.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/bridge/lontium-lt9611c.c b/drivers/gpu/drm/bridge/lontium-lt9611c.c
index d35a246e2d01..30828bb9b3b8 100644
--- a/drivers/gpu/drm/bridge/lontium-lt9611c.c
+++ b/drivers/gpu/drm/bridge/lontium-lt9611c.c
@@ -1234,9 +1234,7 @@ static int lt9611c_probe(struct i2c_client *client)
return 0;

err_remove_bridge:
- free_irq(client->irq, lt9611c);
cancel_work_sync(&lt9611c->work);
- drm_bridge_remove(&lt9611c->bridge);

err_disable_regulators:
regulator_bulk_disable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
@@ -1252,7 +1250,6 @@ static void lt9611c_remove(struct i2c_client *client)
{
struct lt9611c *lt9611c = i2c_get_clientdata(client);

- free_irq(client->irq, lt9611c);
cancel_work_sync(&lt9611c->work);
regulator_bulk_disable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
of_node_put(lt9611c->dsi1_node);
--
2.34.1