summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2023-05-05 14:19:50 +0800
committerMatthias Brugger <matthias.bgg@gmail.com>2023-05-29 17:30:37 +0200
commit57bf5b2d1002cfd6e8d363fc2caebe415bf33ba4 (patch)
treec2535e26bfff9fd41daf80987c936ef2cb1146c1 /drivers/soc
parent3ba589b5fe684305bf23c1c7e27bb93d4b9552cf (diff)
downloadlinux-stable-57bf5b2d1002cfd6e8d363fc2caebe415bf33ba4.tar.gz
linux-stable-57bf5b2d1002cfd6e8d363fc2caebe415bf33ba4.tar.bz2
linux-stable-57bf5b2d1002cfd6e8d363fc2caebe415bf33ba4.zip
soc: mediatek: mtk-mutex: Remove unnecessary .owner
Remove .owner field if calls are used which set it automatically. ./drivers/soc/mediatek/mtk-mutex.c:1054:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4869 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Link: https://lore.kernel.org/r/20230505061950.25977-1-jiapeng.chong@linux.alibaba.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/mediatek/mtk-mutex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/soc/mediatek/mtk-mutex.c b/drivers/soc/mediatek/mtk-mutex.c
index 26f3d9a41496..4aa0913817ae 100644
--- a/drivers/soc/mediatek/mtk-mutex.c
+++ b/drivers/soc/mediatek/mtk-mutex.c
@@ -1051,7 +1051,6 @@ static struct platform_driver mtk_mutex_driver = {
.probe = mtk_mutex_probe,
.driver = {
.name = "mediatek-mutex",
- .owner = THIS_MODULE,
.of_match_table = mutex_driver_dt_match,
},
};