All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH] HWMON: s3c-hwmon: Fix compilation
@ 2011-01-02 19:48 Maurus Cuelenaere
  2011-01-02 23:03 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Maurus Cuelenaere @ 2011-01-02 19:48 UTC (permalink / raw)
  To: lm-sensors

The owner field was removed from struct attribute in
6fd69dc578fa0b1bbc3aad70ae3af9a137211707, so don't assign it anymore.

Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
---
 drivers/hwmon/s3c-hwmon.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/hwmon/s3c-hwmon.c b/drivers/hwmon/s3c-hwmon.c
index 05248f2..92b42db 100644
--- a/drivers/hwmon/s3c-hwmon.c
+++ b/drivers/hwmon/s3c-hwmon.c
@@ -234,7 +234,6 @@ static int s3c_hwmon_create_attr(struct device *dev,
 	attr->index = channel;
 	attr->dev_attr.attr.name  = attrs->in_name;
 	attr->dev_attr.attr.mode  = S_IRUGO;
-	attr->dev_attr.attr.owner = THIS_MODULE;
 	attr->dev_attr.show = s3c_hwmon_ch_show;
 
 	ret =  device_create_file(dev, &attr->dev_attr);
@@ -252,7 +251,6 @@ static int s3c_hwmon_create_attr(struct device *dev,
 		attr->index = channel;
 		attr->dev_attr.attr.name  = attrs->label_name;
 		attr->dev_attr.attr.mode  = S_IRUGO;
-		attr->dev_attr.attr.owner = THIS_MODULE;
 		attr->dev_attr.show = s3c_hwmon_label_show;
 
 		ret = device_create_file(dev, &attr->dev_attr);
-- 
1.7.1


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [lm-sensors] [PATCH] HWMON: s3c-hwmon: Fix compilation
  2011-01-02 19:48 [lm-sensors] [PATCH] HWMON: s3c-hwmon: Fix compilation Maurus Cuelenaere
@ 2011-01-02 23:03 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2011-01-02 23:03 UTC (permalink / raw)
  To: lm-sensors

On Sun, Jan 02, 2011 at 02:48:16PM -0500, Maurus Cuelenaere wrote:
> The owner field was removed from struct attribute in
> 6fd69dc578fa0b1bbc3aad70ae3af9a137211707, so don't assign it anymore.
> 
> Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>

Applied.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-02 23:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-02 19:48 [lm-sensors] [PATCH] HWMON: s3c-hwmon: Fix compilation Maurus Cuelenaere
2011-01-02 23:03 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.