Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752385Ab0G2FN7 (ORCPT ); Thu, 29 Jul 2010 01:13:59 -0400 Received: from imr3.ericy.com ([198.24.6.13]:45806 "EHLO imr3.ericy.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751287Ab0G2FNx (ORCPT ); Thu, 29 Jul 2010 01:13:53 -0400 From: Guenter Roeck To: "James E.J. Bottomley" , Richard Purdie , Greg Kroah-Hartman , Benjamin Herrenschmidt , Paul Mackerras CC: Jean Delvare , Dmitry Torokhov , Liam Girdwood , Mark Brown , Jani Nikula , Linus Walleij , Chris Wright , Nick Cheng , James Smart , Alex Iannicelli , "Eric W. Biederman" , Benjamin Thery , Tejun Heo , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linuxppc-dev@ozlabs.org, Guenter Roeck Subject: [PATCH 3/6] leds: Remove owner field from attribute initialization in bd2802 driver Date: Wed, 28 Jul 2010 22:09:23 -0700 Message-ID: <1280380166-29196-4-git-send-email-guenter.roeck@ericsson.com> X-Mailer: git-send-email 1.7.0.87.g0901d In-Reply-To: <1280380166-29196-1-git-send-email-guenter.roeck@ericsson.com> References: <1280380166-29196-1-git-send-email-guenter.roeck@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1457 Lines: 42 Signed-off-by: Guenter Roeck --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/