From: kbuild test robot <fengguang.wu@intel.com>
To: Jacek Anaszewski <j.anaszewski@samsung.com>
Cc: kbuild-all@01.org, Bryan Wu <cooloney@gmail.com>,
Andrzej Hajda <a.hajda@samsung.com>,
Richard Purdie <rpurdie@rpsys.net>,
linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] leds: fix platform_no_drv_owner.cocci warnings
Date: Wed, 29 Apr 2015 10:23:16 +0800 [thread overview]
Message-ID: <20150429022316.GA62862@athens> (raw)
In-Reply-To: <201504291015.yVl4AoD5%fengguang.wu@intel.com>
drivers/leds/leds-max77693.c:978: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
CC: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
leds-max77693.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/leds/leds-max77693.c
+++ b/drivers/leds/leds-max77693.c
@@ -975,7 +975,6 @@ static struct platform_driver max77693_l
.remove = max77693_led_remove,
.driver = {
.name = "max77693-led",
- .owner = THIS_MODULE,
.of_match_table = max77693_led_dt_match,
},
};
next parent reply other threads:[~2015-04-29 2:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201504291015.yVl4AoD5%fengguang.wu@intel.com>
2015-04-29 2:23 ` kbuild test robot [this message]
[not found] <201504291045.wLiGFH3V%fengguang.wu@intel.com>
2015-04-29 2:30 ` [PATCH] leds: fix platform_no_drv_owner.cocci warnings kbuild test robot
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=20150429022316.GA62862@athens \
--to=fengguang.wu@intel.com \
--cc=a.hajda@samsung.com \
--cc=cooloney@gmail.com \
--cc=j.anaszewski@samsung.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/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).