diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2010-07-29 01:09:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-05 16:53:35 -0400 |
commit | 068a2782f59efe5855091860bbccbadf1c72fffd (patch) | |
tree | 83a581864608ede233beb261af93ec786599eab9 /drivers/regulator | |
parent | 0c8617d3abf6a83b05f80179f8729a002f4160ad (diff) |
regulator: Remove owner field from attribute initialization in regulator core driver
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | 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 2248087b9be2..422a709d271d 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -1025,7 +1025,6 @@ static struct regulator *create_regulator(struct regulator_dev *rdev, | |||
1025 | if (regulator->dev_attr.attr.name == NULL) | 1025 | if (regulator->dev_attr.attr.name == NULL) |
1026 | goto attr_name_err; | 1026 | goto attr_name_err; |
1027 | 1027 | ||
1028 | regulator->dev_attr.attr.owner = THIS_MODULE; | ||
1029 | regulator->dev_attr.attr.mode = 0444; | 1028 | regulator->dev_attr.attr.mode = 0444; |
1030 | regulator->dev_attr.show = device_requested_uA_show; | 1029 | regulator->dev_attr.show = device_requested_uA_show; |
1031 | err = device_create_file(dev, ®ulator->dev_attr); | 1030 | err = device_create_file(dev, ®ulator->dev_attr); |