From patchwork Thu Jul 29 05:09:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 60193 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id E9EF61019CD for ; Thu, 29 Jul 2010 15:53:46 +1000 (EST) Received: by ozlabs.org (Postfix) id E84B51007D4; Thu, 29 Jul 2010 15:42:14 +1000 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from imr3.ericy.com (imr3.ericy.com [198.24.6.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 82B4E1007D2 for ; Thu, 29 Jul 2010 15:42:14 +1000 (EST) Received: from eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) by imr3.ericy.com (8.13.8/8.13.8) with ESMTP id o6T59nt6001299 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 29 Jul 2010 00:10:03 -0500 Received: from prattle.redback.com (147.117.20.213) by eusaamw0712.eamcs.ericsson.se (147.117.20.182) with Microsoft SMTP Server id 8.2.234.1; Thu, 29 Jul 2010 01:09:49 -0400 Received: from localhost (localhost [127.0.0.1]) by prattle.redback.com (Postfix) with ESMTP id B8708E1CC6F; Wed, 28 Jul 2010 22:09:48 -0700 (PDT) Received: from prattle.redback.com ([127.0.0.1]) by localhost (prattle [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25669-03; Wed, 28 Jul 2010 22:09:48 -0700 (PDT) Received: from localhost (rbos-pc-13.lab.redback.com [10.12.11.133]) by prattle.redback.com (Postfix) with ESMTP id 9CAFBE1CC69; Wed, 28 Jul 2010 22:09:48 -0700 (PDT) From: Guenter Roeck To: "James E.J. Bottomley" , Richard Purdie , Greg Kroah-Hartman , Benjamin Herrenschmidt , Paul Mackerras 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 X-Mailman-Approved-At: Thu, 29 Jul 2010 15:52:41 +1000 Cc: Guenter Roeck , Nick Cheng , Linus Walleij , James Smart , linuxppc-dev@ozlabs.org, "Eric W. Biederman" , Dmitry Torokhov , Mark Brown , linux-kernel@vger.kernel.org, Chris Wright , Tejun Heo , Alex Iannicelli , Jani Nikula , Jean Delvare , Benjamin Thery , linux-scsi@vger.kernel.org, Liam Girdwood X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org 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, \