diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-06-22 18:36:03 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-06 22:29:43 +0300 |
commit | 726f783e803cc254b1a8a9a1dc3e5808fee02760 (patch) | |
tree | 02a3f03b018ff47fae38140d1f834afe7cf6ec74 /sound | |
parent | 1fdc5ae80868637926e76a32e8c62cdd093b48f4 (diff) | |
download | linux-726f783e803cc254b1a8a9a1dc3e5808fee02760.tar.xz |
ASoC: fix platform_no_drv_owner.cocci warnings
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/gtm601.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/gtm601.c b/sound/soc/codecs/gtm601.c index 1b77ff2d6d14..393001c20e1a 100644 --- a/sound/soc/codecs/gtm601.c +++ b/sound/soc/codecs/gtm601.c @@ -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), }, |