Skip to contentSkip to conversation

drm/bridge: dw-hdmi: Delete unnecessary assignment for the field "owner"

PATCH Applied SF Markus Elfring 2 participants 2 messages Aug 16, 2016 – Aug 23, 2016

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

PATCH 1/1 drm/bridge: dw-hdmi: Delete unnecessary assignment for the field "owner"

From: Markus Elfring <[email protected]>
Date: Tue, 16 Aug 2016 13:52:19 +0200

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

---
 drivers/gpu/drm/bridge/dw-hdmi-ahb-audio.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/bridge/dw-hdmi-ahb-audio.c +0 -1
index 122bb01..8f2d137 100644
@@ -640,7 +640,6 @@ static struct platform_driver snd_dw_hdmi_driver = {
 	.remove	= snd_dw_hdmi_remove,
 	.driver	= {
 		.name = DRIVER_NAME,
-		.owner = THIS_MODULE,
 		.pm = PM_OPS,
 	},
 };
Signature · 1 line
2.9.2
Applied
#1 lore raw
Quoted 8 lines · SF Markus Elfring

From: Markus Elfring <[email protected]>
Date: Tue, 16 Aug 2016 13:52:19 +0200

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Applied to -misc

Sean

Quoted 23 lines
---
 drivers/gpu/drm/bridge/dw-hdmi-ahb-audio.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/bridge/dw-hdmi-ahb-audio.c +0 -2
index 122bb01..8f2d137 100644
@@ -640,7 +640,6 @@ static struct platform_driver snd_dw_hdmi_driver = {
        .remove = snd_dw_hdmi_remove,
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .pm = PM_OPS,
        },
 };
--

2.9.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel