Skip to content

Commit 57bf5b2

Browse files
wb-zjp846396mbgg
authored andcommitted
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>
1 parent 3ba589b commit 57bf5b2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/soc/mediatek/mtk-mutex.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,6 @@ static struct platform_driver mtk_mutex_driver = {
10511051
.probe = mtk_mutex_probe,
10521052
.driver = {
10531053
.name = "mediatek-mutex",
1054-
.owner = THIS_MODULE,
10551054
.of_match_table = mutex_driver_dt_match,
10561055
},
10571056
};

0 commit comments

Comments
 (0)