[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1ae2e760-a06f-f76f-689c-804df00ea5f8@gmail.com>
Date: Mon, 29 May 2023 17:30:54 +0200
From: Matthias Brugger <matthias.bgg@...il.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: angelogioacchino.delregno@...labora.com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] soc: mediatek: mtk-mutex: Remove unnecessary .owner
On 05/05/2023 08:19, Jiapeng Chong wrote:
> 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@...ux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4869
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Applied, thanks!
> ---
> drivers/soc/mediatek/mtk-mutex.c | 1 -
> 1 file changed, 1 deletion(-)
>
> 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,
> },
> };
Powered by blists - more mailing lists