summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-09-12 05:41:49 +0200
committerMark Brown <broonie@kernel.org>2018-09-12 11:52:25 +0200
commite1e38ea14ea3294546e6350d05a1376197a73589 (patch)
tree68257c91767cf95e3ddef4b1ee101ba2c5cd4de7 /sound/soc/rockchip
parentASoC: rockchip: add missing INTERLEAVED PCM attribute (diff)
downloadlinux-e1e38ea14ea3294546e6350d05a1376197a73589.tar.xz
linux-e1e38ea14ea3294546e6350d05a1376197a73589.zip
ASoC: remove unneeded static set .owner field in platform_driver
platform_driver_register will set the .owner field. So it is safe to remove the redundant assignment. The issue is detected with the help of Coccinelle. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
-rw-r--r--sound/soc/rockchip/rk3288_hdmi_analog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rk3288_hdmi_analog.c b/sound/soc/rockchip/rk3288_hdmi_analog.c
index 929b3fe289b0..a472d5eb2950 100644
--- a/sound/soc/rockchip/rk3288_hdmi_analog.c
+++ b/sound/soc/rockchip/rk3288_hdmi_analog.c
@@ -286,7 +286,6 @@ static struct platform_driver rockchip_sound_driver = {
.probe = snd_rk_mc_probe,
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = rockchip_sound_of_match,
},