Re: [PATCH] drm: dw-hdmi-i2s: Remove owner assignment from platform_driver

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

 



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@xxxxxxxxx> wrote:
>> From: Fabio Estevam <fabio.estevam@xxxxxxx>
>>
>> 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@xxxxxxx>
>> ---
>>  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@xxxxxxxxxxxxxxxxxxxxx
https://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