[PATCH] staging: vc04_services: Fix platform_no_drv_owner.cocci warnings.
kishore.p at techveda.org
kishore.p at techveda.org
Sat Dec 23 06:46:59 PST 2017
From: Kishore KP <kishore.p at techveda.org>
Removed .owner field initialization, platform core does it automatically.
Pointed out by Coccinelle.
Signed-off-by: Kishore KP <kishore.p at techveda.org>
Signed-off-by: Suniel Mahesh <sunil.m at techveda.org>
---
Note:
- Patch was compile tested and built(ARCH=arm) on linux-next
(latest).
- No build issues reported.
---
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
index 8f2d508..50a5f29 100644
--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
@@ -443,7 +443,6 @@ static int snd_bcm2835_alsa_resume(struct platform_device *pdev)
#endif
.driver = {
.name = "bcm2835_audio",
- .owner = THIS_MODULE,
.of_match_table = snd_bcm2835_of_match_table,
},
};
--
1.9.1
More information about the linux-rpi-kernel
mailing list