Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752294Ab0G2FSc (ORCPT ); Thu, 29 Jul 2010 01:18:32 -0400 Received: from imr1.ericy.com ([198.24.6.9]:37099 "EHLO imr1.ericy.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750845Ab0G2FSa (ORCPT ); Thu, 29 Jul 2010 01:18:30 -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 4/6] regulator: Remove owner field from attribute initialization in regulator core driver Date: Wed, 28 Jul 2010 22:09:24 -0700 Message-ID: <1280380166-29196-5-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: 937 Lines: 25 Signed-off-by: Guenter Roeck --- drivers/regulator/core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 2248087..422a709 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -1025,7 +1025,6 @@ static struct regulator *create_regulator(struct regulator_dev *rdev, if (regulator->dev_attr.attr.name == NULL) goto attr_name_err; - regulator->dev_attr.attr.owner = THIS_MODULE; regulator->dev_attr.attr.mode = 0444; regulator->dev_attr.show = device_requested_uA_show; err = device_create_file(dev, ®ulator->dev_attr); -- 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/