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 8f2d508..50a5f29 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,
        },
 };