Browse Source

staging: vc04_services: Fix platform_no_drv_owner.cocci warnings.

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>
Kishore KP 8 years ago
parent
commit
886654d7e3
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/staging/vc04_services/bcm2835-audio/bcm2835.c

+ 0 - 1
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c

@@ -443,7 +443,6 @@ static struct platform_driver bcm2835_alsa0_driver = {
 #endif
 #endif
 	.driver = {
 	.driver = {
 		.name = "bcm2835_audio",
 		.name = "bcm2835_audio",
-		.owner = THIS_MODULE,
 		.of_match_table = snd_bcm2835_of_match_table,
 		.of_match_table = snd_bcm2835_of_match_table,
 	},
 	},
 };
 };