From: Guenter Roeck Date: Thu, 29 Jul 2010 05:09:24 +0000 (-0700) Subject: regulator: Remove owner field from attribute initialization in regulator core driver X-Git-Tag: v2.6.36-rc1~521^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=068a2782f59efe5855091860bbccbadf1c72fffd;p=profile%2Fcommon%2Fkernel-common.git regulator: Remove owner field from attribute initialization in regulator core driver Signed-off-by: Guenter Roeck Acked-by: Mark Brown Acked-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- 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);