summaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/mt6797
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-09-12 11:41:49 +0800
committerMark Brown <broonie@kernel.org>2018-09-12 10:52:25 +0100
commite1e38ea14ea3294546e6350d05a1376197a73589 (patch)
tree68257c91767cf95e3ddef4b1ee101ba2c5cd4de7 /sound/soc/mediatek/mt6797
parent24d6638302b48328a58c13439276d4531af4ca7d (diff)
downloadlinux-e1e38ea14ea3294546e6350d05a1376197a73589.tar.gz
linux-e1e38ea14ea3294546e6350d05a1376197a73589.tar.bz2
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/mediatek/mt6797')
-rw-r--r--sound/soc/mediatek/mt6797/mt6797-mt6351.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
index b1558c57b9ca..6e578e830e42 100644
--- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c
+++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
@@ -205,7 +205,6 @@ static const struct of_device_id mt6797_mt6351_dt_match[] = {
static struct platform_driver mt6797_mt6351_driver = {
.driver = {
.name = "mt6797-mt6351",
- .owner = THIS_MODULE,
#ifdef CONFIG_OF
.of_match_table = mt6797_mt6351_dt_match,
#endif