drm/tilcdc: panel: fix platform_no_drv_owner.cocci warnings
Subsystems (3)
PATCH 1/1 drm/tilcdc: panel: fix platform_no_drv_owner.cocci warnings
./drivers/gpu/drm/tilcdc/tilcdc_panel.c:402:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/tilcdc/tilcdc_panel.c +0 -1
@@ -399,7 +399,6 @@ static int panel_remove(struct platform_device *pdev) .probe = panel_probe, .remove = panel_remove, .driver = { - .owner = THIS_MODULE, .name = "tilcdc-panel", .of_match_table = panel_of_match, },
Signature · 6 lines
1.8.3.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Yang Li
./drivers/gpu/drm/tilcdc/tilcdc_panel.c:402:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>
Reviewed-by Jyri Sarha <[email protected]>
I'll merge this soon to drm-misc-next.
Best regards,
Jyri
Quoted 17 lines
--- drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/tilcdc/tilcdc_panel.c +0
-1@@ -399,7 +399,6 @@ static int panel_remove(struct platform_device *pdev) .probe = panel_probe, .remove = panel_remove, .driver = { - .owner = THIS_MODULE, .name = "tilcdc-panel", .of_match_table = panel_of_match,
Quoted 1 line
},
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel