All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: dw-hdmi-i2s: Remove owner assignment from platform_driver
@ 2018-03-15 18:04 Fabio Estevam
  2018-04-22 23:50 ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2018-03-15 18:04 UTC (permalink / raw)
  To: a.hajda; +Cc: Fabio Estevam, dri-devel

From: Fabio Estevam <fabio.estevam@nxp.com>

platform_driver does not need to set the owner field, as this will
be populated by the driver core.

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

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
index 3b7e5c5..8f9c8a6 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
@@ -152,7 +152,6 @@ static struct platform_driver snd_dw_hdmi_driver = {
 	.remove	= snd_dw_hdmi_remove,
 	.driver	= {
 		.name = DRIVER_NAME,
-		.owner = THIS_MODULE,
 	},
 };
 module_platform_driver(snd_dw_hdmi_driver);
-- 
2.7.4

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm: dw-hdmi-i2s: Remove owner assignment from platform_driver
  2018-03-15 18:04 [PATCH] drm: dw-hdmi-i2s: Remove owner assignment from platform_driver Fabio Estevam
@ 2018-04-22 23:50 ` Fabio Estevam
  2018-04-23  6:59   ` Andrzej Hajda
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2018-04-22 23:50 UTC (permalink / raw)
  To: Andrzej Hajda, Archit Taneja; +Cc: Fabio Estevam, DRI mailing list

Andrzej/Archit,

Any comments?

On Thu, Mar 15, 2018 at 3:04 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> platform_driver does not need to set the owner field, as this will
> be populated by the driver core.
>
> Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
> index 3b7e5c5..8f9c8a6 100644
> --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
> +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
> @@ -152,7 +152,6 @@ static struct platform_driver snd_dw_hdmi_driver = {
>         .remove = snd_dw_hdmi_remove,
>         .driver = {
>                 .name = DRIVER_NAME,
> -               .owner = THIS_MODULE,
>         },
>  };
>  module_platform_driver(snd_dw_hdmi_driver);
> --
> 2.7.4
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm: dw-hdmi-i2s: Remove owner assignment from platform_driver
  2018-04-22 23:50 ` Fabio Estevam
@ 2018-04-23  6:59   ` Andrzej Hajda
  0 siblings, 0 replies; 3+ messages in thread
From: Andrzej Hajda @ 2018-04-23  6:59 UTC (permalink / raw)
  To: Fabio Estevam, Archit Taneja; +Cc: Fabio Estevam, DRI mailing list

On 23.04.2018 01:50, Fabio Estevam wrote:
> Andrzej/Archit,
>
> Any comments?

My mail filter somehow didn't catch it.

Queued to drm-misc-next.

Regards
Andrzej
>
> On Thu, Mar 15, 2018 at 3:04 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> From: Fabio Estevam <fabio.estevam@nxp.com>
>>
>> platform_driver does not need to set the owner field, as this will
>> be populated by the driver core.
>>
>> Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
>> ---
>>  drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
>> index 3b7e5c5..8f9c8a6 100644
>> --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
>> +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
>> @@ -152,7 +152,6 @@ static struct platform_driver snd_dw_hdmi_driver = {
>>         .remove = snd_dw_hdmi_remove,
>>         .driver = {
>>                 .name = DRIVER_NAME,
>> -               .owner = THIS_MODULE,
>>         },
>>  };
>>  module_platform_driver(snd_dw_hdmi_driver);
>> --
>> 2.7.4
>>
>
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-23  6:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-15 18:04 [PATCH] drm: dw-hdmi-i2s: Remove owner assignment from platform_driver Fabio Estevam
2018-04-22 23:50 ` Fabio Estevam
2018-04-23  6:59   ` Andrzej Hajda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.