Skip to contentSkip to conversation

drm/bridge: analogix: remove unused struct 'bridge_init'

PATCH In review [email protected] 2 participants 6 messages May 20, 2024 – Jul 19, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/bridge: analogix: remove unused struct 'bridge_init'

From: "Dr. David Alan Gilbert" <[email protected]>

commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") has dropped all the users of the struct bridge_init from the exynos_dp_core, while retaining unused structure definition. Later on the driver was reworked and the definition migrated to the analogix_dp driver. Remove unused struct bridge_init definition.

---
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +0 -5
index df9370e0ff23..1e03f3525a92 100644
@@ -36,11 +36,6 @@
 
 static const bool verify_fast_training;
 
-struct bridge_init {
-	struct i2c_client *client;
-	struct device_node *node;
-};
-
 static int analogix_dp_init_dp(struct analogix_dp_device *dp)
 {
 	int ret;
Signature · 1 line
2.45.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 8 lines · On Mon, May 20, 2024 at 01:55:51PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") has dropped all the users of the struct bridge_init from the exynos_dp_core, while retaining unused structure definition. Later on the driver was reworked and the definition migrated to the analogix_dp driver. Remove unused struct bridge_init definition.

Quoted 5 lines
---
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 -----
 1 file changed, 5 deletions(-)
Signature · 2 lines
With best wishes
Dmitry
#2 lore raw
Quoted 9 lines · * Dmitry Baryshkov ([email protected]) wrote:
Quoted 8 lines · On Mon, May 20, 2024 at 01:55:51PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") has dropped all the users of the struct bridge_init from the exynos_dp_core, while retaining unused structure definition. Later on the driver was reworked and the definition migrated to the analogix_dp driver. Remove unused struct bridge_init definition.

Quoted 7 lines
Quoted 5 lines
---
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 -----
 1 file changed, 5 deletions(-)

Thanks.

Dave

Quoted 5 lines
Signature · 3 lines
-- 
With best wishes
Dmitry
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
#3 lore raw
In reply to Dmitry Baryshkov
Quoted 9 lines · * Dmitry Baryshkov ([email protected]) wrote:
Quoted 8 lines · On Mon, May 20, 2024 at 01:55:51PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") has dropped all the users of the struct bridge_init from the exynos_dp_core, while retaining unused structure definition. Later on the driver was reworked and the definition migrated to the analogix_dp driver. Remove unused struct bridge_init definition.

Quoted 7 lines
Quoted 5 lines
---
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 -----
 1 file changed, 5 deletions(-)

Hi Dmitry,
Do you know who is likely to pick this one up? I think all
my other drm patches have found their way into -next.

Thanks,

Dave

Quoted 5 lines
Signature · 3 lines
-- 
With best wishes
Dmitry
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
#4 lore raw
Quoted 16 lines · Dr. David Alan Gilbert
Quoted 15 lines · * Dmitry Baryshkov ([email protected]) wrote:
Quoted 13 lines · On Mon, May 20, 2024 at 01:55:51PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") has dropped all the users of the struct bridge_init from the exynos_dp_core, while retaining unused structure definition. Later on the driver was reworked and the definition migrated to the analogix_dp driver. Remove unused struct bridge_init definition.

---
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 -----
 1 file changed, 5 deletions(-)
Quoted 5 lines
Quoted 1 line

Hi Dmitry,
Do you know who is likely to pick this one up? I think all
my other drm patches have found their way into -next.

Applied and pushed.

Signature · 2 lines
With best wishes
Dmitry
#5 lore raw
Quoted 17 lines · * Dmitry Baryshkov ([email protected]) wrote:
Quoted 16 lines · Dr. David Alan Gilbert
Quoted 15 lines · * Dmitry Baryshkov ([email protected]) wrote:
Quoted 13 lines · On Mon, May 20, 2024 at 01:55:51PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") has dropped all the users of the struct bridge_init from the exynos_dp_core, while retaining unused structure definition. Later on the driver was reworked and the definition migrated to the analogix_dp driver. Remove unused struct bridge_init definition.

---
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 -----
 1 file changed, 5 deletions(-)
Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Hi Dmitry,
Do you know who is likely to pick this one up? I think all
my other drm patches have found their way into -next.

Applied and pushed.

Thanks!

Dave

Quoted 3 lines
Signature · 2 lines
With best wishes
Dmitry
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/