summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-08-26 19:48:13 +0800
committerMark Brown <broonie@kernel.org>2015-08-26 13:01:02 +0100
commit1c0beb27443c98257a5bced2978f2556f2ae1709 (patch)
tree8c865b8631ff3f3ea886e3d5c4564d7307af153b /sound
parent0137d5ff8488f1d17a83508578976d3a67ba8e81 (diff)
ASoC: rockchip: fix platform_no_drv_owner.cocci warnings
sound/soc/rockchip/rockchip_rt5645.c:214:3-8: 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 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/rockchip/rockchip_rt5645.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rockchip_rt5645.c b/sound/soc/rockchip/rockchip_rt5645.c
index adfe98c5d26f..274b9b3dd9f6 100644
--- a/sound/soc/rockchip/rockchip_rt5645.c
+++ b/sound/soc/rockchip/rockchip_rt5645.c
@@ -211,7 +211,6 @@ static struct platform_driver snd_rk_mc_driver = {
.probe = snd_rk_mc_probe,
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = rockchip_rt5645_of_match,
},