From: Aaron Lu <aaron.lu@intel.com>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org, Zhang Rui <rui.zhang@intel.com>,
Eduardo Valentin <edubezval@gmail.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings
Date: Mon, 22 Dec 2014 09:54:28 +0800 [thread overview]
Message-ID: <549779D4.90901@intel.com> (raw)
In-Reply-To: <20141221142117.GA32888@athens>
On 12/21/2014 10:21 PM, kbuild test robot wrote:
> drivers/thermal/int340x_thermal/int3402_thermal.c:234:6-11: No need to set .owner here. The core will do it.
>
> Remove .owner field if calls are used which set it automatically
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> CC: Aaron Lu <aaron.lu@intel.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Looks good to me, thanks!
-Aaron
> ---
>
> int3402_thermal.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/drivers/thermal/int340x_thermal/int3402_thermal.c
> +++ b/drivers/thermal/int340x_thermal/int3402_thermal.c
> @@ -231,7 +231,6 @@ static struct platform_driver int3402_th
> .remove = int3402_thermal_remove,
> .driver = {
> .name = "int3402 thermal",
> - .owner = THIS_MODULE,
> .acpi_match_table = int3402_thermal_match,
> },
> };
>
next prev parent reply other threads:[~2014-12-22 1:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201412212210.5BfVGAAA%fengguang.wu@intel.com>
2014-12-21 14:21 ` [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings kbuild test robot
2014-12-22 1:54 ` Aaron Lu [this message]
2019-04-23 19:32 [soc-thermal:for-kernelci 34/35] drivers/thermal/thermal_mmio.c:120:3-8: No need to set .owner here. The core will do it kbuild test robot
2019-04-23 19:32 ` [PATCH] thermal: fix platform_no_drv_owner.cocci warnings kbuild test robot
2019-04-28 11:24 ` Shenhar, Talel
-- strict thread matches above, loose matches on Subject: below --
2017-06-06 7:50 [PATCH 2/2] thermal: add brcmstb AVS TMON driver kbuild test robot
[not found] ` <20170605210930.65432-3-code-7CzEARzsJhSsTnJN9+BGXg@public.gmane.org>
2017-06-06 7:50 ` [PATCH] thermal: fix platform_no_drv_owner.cocci warnings kbuild test robot
[not found] <201411161721.jEzvtBAi%fengguang.wu@intel.com>
2014-11-17 6:24 ` [PATCH] Thermal: " Fengguang Wu
2014-11-17 7:57 ` Zhang Rui
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=549779D4.90901@intel.com \
--to=aaron.lu@intel.com \
--cc=edubezval@gmail.com \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).