]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Mon, 22 Jun 2015 15:36:03 +0000 (23:36 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jul 2015 19:29:43 +0000 (20:29 +0100)
sound/soc/codecs/gtm601.c:86:4-9: 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: Marek Belisko <marek@goldelico.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/gtm601.c

index 1b77ff2d6d14c1739bdaf56f753919553d13bbeb..393001c20e1abc502eff6539d1a017473364ea46 100644 (file)
@@ -83,7 +83,6 @@ MODULE_DEVICE_TABLE(of, gtm601_codec_of_match);
 static struct platform_driver gtm601_codec_driver = {
        .driver = {
                        .name = "gtm601",
-                       .owner = THIS_MODULE,
                        .of_match_table = of_match_ptr(gtm601_codec_of_match),
        },