staging: vc04_services: Fix platform_no_drv_owner.cocci warnings.
authorKishore KP <kishore.p@techveda.org>
Sat, 23 Dec 2017 14:46:59 +0000 (20:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:41:37 +0000 (16:41 +0100)
Removed .owner field initialization, platform core does it automatically.
Pointed out by Coccinelle.

Signed-off-by: Kishore KP <kishore.p@techveda.org>
Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c

index 8f2d508183b29a8ab6a049c488174588b49979e3..50a5f294c13f399fe5f4e6c8353ce34ab4e75883 100644 (file)
@@ -443,7 +443,6 @@ static struct platform_driver bcm2835_alsa0_driver = {
 #endif
        .driver = {
                .name = "bcm2835_audio",
-               .owner = THIS_MODULE,
                .of_match_table = snd_bcm2835_of_match_table,
        },
 };