Skip to contentSkip to conversation

etnaviv: etnaviv_drv: Remove owner assignment from platform_driver

PATCH In review Fabio Estevam 2 participants 2 messages Jan 8, 2016 – Jan 12, 2016

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

PATCH 1/1 etnaviv: etnaviv_drv: Remove owner assignment from platform_driver

This platform_driver does not need to set an owner as it will be populated by the driver core.

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

---
 drivers/gpu/drm/etnaviv/etnaviv_drv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/etnaviv/etnaviv_drv.c +0 -1
index 5c89ebb..e885898 100644
@@ -668,7 +668,6 @@ static struct platform_driver etnaviv_platform_driver = {
 	.probe      = etnaviv_pdev_probe,
 	.remove     = etnaviv_pdev_remove,
 	.driver     = {
-		.owner  = THIS_MODULE,
 		.name   = "etnaviv",
 		.of_match_table = dt_match,
 	},
Signature · 6 lines
1.9.1

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer
#1 lore raw

Am Freitag, den 08.01.2016, 11:52 -0200 schrieb Fabio Estevam:

Quoted 6 lines

This platform_driver does not need to set an owner as it will be populated by the driver core.

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

Thanks, I've picked this up. As it's not a critical fix, I'll send this out when some more things have accumulated.

Regards,
Lucas

Quoted 16 lines
---
 drivers/gpu/drm/etnaviv/etnaviv_drv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/etnaviv/etnaviv_drv.c +0 -1
index 5c89ebb..e885898 100644
@@ -668,7 +668,6 @@ static struct platform_driver etnaviv_platform_driver = {
 	.probe      = etnaviv_pdev_probe,
 	.remove     = etnaviv_pdev_remove,
 	.driver     = {
-		.owner  = THIS_MODULE,
 		.name   = "etnaviv",
 		.of_match_table = dt_match,
 	},
Signature · 7 lines
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |

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