[PATCH] etnaviv: etnaviv_drv: Remove owner assignment from platform_driver
Lucas Stach
l.stach at pengutronix.de
Tue Jan 12 03:05:52 PST 2016
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 at gmail.com>
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/ |
More information about the dri-devel
mailing list