leds: Remove owner field from attribute initialization in bd2802 driver

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Guenter Roeck 2010-07-28 22:09:23 -07:00 committed by Greg Kroah-Hartman
parent cf9e82a8a0
commit 0c8617d3ab
1 changed files with 1 additions and 3 deletions

View File

@ -351,7 +351,7 @@ static ssize_t bd2802_store_reg##reg_addr(struct device *dev, \
return count; \ return count; \
} \ } \
static struct device_attribute bd2802_reg##reg_addr##_attr = { \ 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, \ .store = bd2802_store_reg##reg_addr, \
}; };
@ -482,7 +482,6 @@ static struct device_attribute bd2802_adv_conf_attr = {
.attr = { .attr = {
.name = "advanced_configuration", .name = "advanced_configuration",
.mode = 0644, .mode = 0644,
.owner = THIS_MODULE
}, },
.show = bd2802_show_adv_conf, .show = bd2802_show_adv_conf,
.store = bd2802_store_adv_conf, .store = bd2802_store_adv_conf,
@ -519,7 +518,6 @@ static struct device_attribute bd2802_##attr_name##_attr = { \
.attr = { \ .attr = { \
.name = name_str, \ .name = name_str, \
.mode = 0644, \ .mode = 0644, \
.owner = THIS_MODULE \
}, \ }, \
.show = bd2802_show_##attr_name, \ .show = bd2802_show_##attr_name, \
.store = bd2802_store_##attr_name, \ .store = bd2802_store_##attr_name, \