From: Guenter Roeck <guenter.roeck@ericsson.com>
To: "James E.J. Bottomley" <James.Bottomley@suse.de>,
Richard Purdie <rpurdie@rpsys.net>,
Greg Kroah-Hartman <gregkh@suse.de>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>,
Nick Cheng <nick.cheng@areca.com.tw>,
Linus Walleij <linus.walleij@stericsson.com>,
James Smart <james.smart@emulex.com>,
linuxppc-dev@ozlabs.org,
"Eric W. Biederman" <ebiederm@aristanetworks.com>,
Dmitry Torokhov <dtor@mail.ru>,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
linux-kernel@vger.kernel.org, Chris Wright <chrisw@sous-sol.org>,
Tejun Heo <tj@kernel.org>,
Alex Iannicelli <alex.iannicelli@emulex.com>,
Jani Nikula <ext-jani.1.nikula@nokia.com>,
Jean Delvare <khali@linux-fr.org>,
Benjamin Thery <benjamin.thery@bull.net>,
linux-scsi@vger.kernel.org, Liam Girdwood <lrg@slimlogic.co.uk>
Subject: [PATCH 3/6] leds: Remove owner field from attribute initialization in bd2802 driver
Date: Wed, 28 Jul 2010 22:09:23 -0700 [thread overview]
Message-ID: <1280380166-29196-4-git-send-email-guenter.roeck@ericsson.com> (raw)
In-Reply-To: <1280380166-29196-1-git-send-email-guenter.roeck@ericsson.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
---
drivers/leds/leds-bd2802.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/leds/leds-bd2802.c b/drivers/leds/leds-bd2802.c
index 5dcdf9d..19dc4b6 100644
--- a/drivers/leds/leds-bd2802.c
+++ b/drivers/leds/leds-bd2802.c
@@ -351,7 +351,7 @@ static ssize_t bd2802_store_reg##reg_addr(struct device *dev, \
return count; \
} \
static struct device_attribute bd2802_reg##reg_addr##_attr = { \
- .attr = {.name = reg_name, .mode = 0644, .owner = THIS_MODULE}, \
+ .attr = {.name = reg_name, .mode = 0644}, \
.store = bd2802_store_reg##reg_addr, \
};
@@ -482,7 +482,6 @@ static struct device_attribute bd2802_adv_conf_attr = {
.attr = {
.name = "advanced_configuration",
.mode = 0644,
- .owner = THIS_MODULE
},
.show = bd2802_show_adv_conf,
.store = bd2802_store_adv_conf,
@@ -519,7 +518,6 @@ static struct device_attribute bd2802_##attr_name##_attr = { \
.attr = { \
.name = name_str, \
.mode = 0644, \
- .owner = THIS_MODULE \
}, \
.show = bd2802_show_##attr_name, \
.store = bd2802_store_##attr_name, \
--
1.7.0.87.g0901d
next prev parent reply other threads:[~2010-07-29 5:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 5:09 [PATCH 0/6] Remove owner field from sysfs attribute structure Guenter Roeck
2010-07-29 5:09 ` [PATCH 1/6] scsi: Remove owner field from attribute initialization in LPFC driver Guenter Roeck
2010-07-29 5:09 ` [PATCH 2/6] scsi: Remove owner field from attribute initialization in ARCMSR driver Guenter Roeck
2010-07-29 5:09 ` Guenter Roeck [this message]
2010-07-29 5:09 ` [PATCH 5/6] powerpc/pci: Remove owner field from attribute initialization in PCI bridge init Guenter Roeck
2010-07-29 5:09 ` [PATCH 6/6] Remove owner field from sysfs struct attribute Guenter Roeck
2010-07-29 6:16 ` [PATCH 0/6] Remove owner field from sysfs attribute structure Eric Biederman
2010-08-02 23:31 ` Greg KH
2010-08-10 13:43 ` Jean Delvare
2010-08-10 15:17 ` Stephen Rothwell
2010-08-10 15:20 ` Stephen Rothwell
2010-08-10 16:43 ` Guenter Roeck
[not found] ` <1280380166-29196-5-git-send-email-guenter.roeck@ericsson.com>
2010-07-29 17:15 ` [PATCH 4/6] regulator: Remove owner field from attribute initialization in regulator core driver Mark Brown
2010-07-30 8:45 ` [PATCH 0/6] Remove owner field from sysfs attribute structure Tejun Heo
2010-07-30 10:28 ` Benjamin Herrenschmidt
2010-07-30 14:36 ` Greg KH
2010-08-02 16:15 ` Guenter Roeck
2010-08-02 16:53 ` Greg KH
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=1280380166-29196-4-git-send-email-guenter.roeck@ericsson.com \
--to=guenter.roeck@ericsson.com \
--cc=James.Bottomley@suse.de \
--cc=alex.iannicelli@emulex.com \
--cc=benh@kernel.crashing.org \
--cc=benjamin.thery@bull.net \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=chrisw@sous-sol.org \
--cc=dtor@mail.ru \
--cc=ebiederm@aristanetworks.com \
--cc=ext-jani.1.nikula@nokia.com \
--cc=gregkh@suse.de \
--cc=james.smart@emulex.com \
--cc=khali@linux-fr.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=lrg@slimlogic.co.uk \
--cc=nick.cheng@areca.com.tw \
--cc=paulus@samba.org \
--cc=rpurdie@rpsys.net \
--cc=tj@kernel.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;
as well as URLs for NNTP newsgroup(s).