aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-08-26 19:44:10 +0800
committerMark Brown <broonie@kernel.org>2015-08-26 13:00:59 +0100
commit0137d5ff8488f1d17a83508578976d3a67ba8e81 (patch)
treec47f22422d7aa286736b1671266e465b285a906e /sound
parentf8ce20005d1694584448cd544be5fb32416a277c (diff)
ASoC: rockchip: fix platform_no_drv_owner.cocci warnings
sound/soc/rockchip/rockchip_max98090.c:225: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_max98090.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rockchip_max98090.c b/sound/soc/rockchip/rockchip_max98090.c
index acace20d4127..562e7ea3c55f 100644
--- a/sound/soc/rockchip/rockchip_max98090.c
+++ b/sound/soc/rockchip/rockchip_max98090.c
@@ -222,7 +222,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_max98090_of_match,
},