mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthias Brugger <matthias.bgg@gmail.com>
To: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Cc: angelogioacchino.delregno@collabora.com,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	Abaci Robot <abaci@linux.alibaba.com>
Subject: Re: [PATCH] soc: mediatek: mtk-mutex: Remove unnecessary .owner
Date: Mon, 29 May 2023 17:30:54 +0200	[thread overview]
Message-ID: <1ae2e760-a06f-f76f-689c-804df00ea5f8@gmail.com> (raw)
In-Reply-To: <20230505061950.25977-1-jiapeng.chong@linux.alibaba.com>



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@linux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4869
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.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,
>   	},
>   };

      reply	other threads:[~2023-05-29 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-05  6:19 Jiapeng Chong
2023-05-29 15:30 ` Matthias Brugger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1ae2e760-a06f-f76f-689c-804df00ea5f8@gmail.com \
    --to=matthias.bgg@gmail.com \
    --cc=abaci@linux.alibaba.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=jiapeng.chong@linux.alibaba.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®