[PATCH] ASoC: AMD: fix platform_no_drv_owner.cocci warnings

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

 



sound/soc/amd/raven/dummy-w5102.c:94:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

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

CC: Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@xxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---

 dummy-w5102.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/amd/raven/dummy-w5102.c
+++ b/sound/soc/amd/raven/dummy-w5102.c
@@ -91,7 +91,6 @@ static struct platform_driver dummy_w510
 	.remove		= dummy_w5102_remove,
 	.driver		= {
 		.name	= "dummy_w5102",
-		.owner	= THIS_MODULE,
 	},
 };
 
_______________________________________________
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