Re: [PATCH] etnaviv: etnaviv_drv: Remove owner assignment from platform_driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag, den 08.01.2016, 11:52 -0200 schrieb Fabio Estevam:
> 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.
> 
> Signed-off-by: Fabio Estevam <festevam@xxxxxxxxx>

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
> ---
>  drivers/gpu/drm/etnaviv/etnaviv_drv.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c
> index 5c89ebb..e885898 100644
> --- a/drivers/gpu/drm/etnaviv/etnaviv_drv.c
> +++ b/drivers/gpu/drm/etnaviv/etnaviv_drv.c
> @@ -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,
>  	},

-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux