From: kbuild test robot <lkp@intel.com>
To: Talel Shenhar <talel@amazon.com>
Cc: kbuild-all@01.org, linux-pm@vger.kernel.org,
Eduardo Valentin <edubezval@gmail.com>,
David Woodhouse <dwmw@amazon.co.uk>,
Daniel Lezcano <daniel.lezcano@linaro.org>
Subject: [PATCH] thermal: fix platform_no_drv_owner.cocci warnings
Date: Wed, 24 Apr 2019 03:32:07 +0800 [thread overview]
Message-ID: <20190423193207.GA21807@ivb42> (raw)
In-Reply-To: <201904240343.b2RBtBuM%lkp@intel.com>
From: kbuild test robot <lkp@intel.com>
drivers/thermal/thermal_mmio.c:120:3-8: 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
Fixes: 35838aa51cd6 ("thermal: Introduce Amazon's Annapurna Labs Thermal Driver")
CC: Talel Shenhar <talel@amazon.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git for-kernelci
head: 0e50a5ee6b8a23c6798aae23efcd4b8e055c06ef
commit: 35838aa51cd6dbf5ae2c78ecd1d1df0cc0324256 [34/35] thermal: Introduce Amazon's Annapurna Labs Thermal Driver
thermal_mmio.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/thermal/thermal_mmio.c
+++ b/drivers/thermal/thermal_mmio.c
@@ -117,7 +117,6 @@ static struct platform_driver thermal_mm
.probe = thermal_mmio_probe,
.driver = {
.name = "thermal-mmio",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(thermal_mmio_id_table),
},
};
next prev parent reply other threads:[~2019-04-23 19:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` kbuild test robot [this message]
2019-04-28 11:24 ` [PATCH] thermal: fix platform_no_drv_owner.cocci warnings 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] <201412212210.5BfVGAAA%fengguang.wu@intel.com>
2014-12-21 14:21 ` [PATCH] Thermal: " kbuild test robot
2014-12-22 1:54 ` Aaron Lu
[not found] <201411161721.jEzvtBAi%fengguang.wu@intel.com>
2014-11-17 6:24 ` 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=20190423193207.GA21807@ivb42 \
--to=lkp@intel.com \
--cc=daniel.lezcano@linaro.org \
--cc=dwmw@amazon.co.uk \
--cc=edubezval@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-pm@vger.kernel.org \
--cc=talel@amazon.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).