2010-08-10 15:47:51

by Guenter Roeck

[permalink] [raw]
Subject: [PATCH] power: Remove owner field from attribute initialization code in OLPC driver

Signed-off-by: Guenter Roeck <[email protected]>
---
drivers/power/olpc_battery.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c
index baefcf1..5ab9109 100644
--- a/drivers/power/olpc_battery.c
+++ b/drivers/power/olpc_battery.c
@@ -384,7 +384,6 @@ static struct bin_attribute olpc_bat_eeprom = {
.attr = {
.name = "eeprom",
.mode = S_IRUGO,
- .owner = THIS_MODULE,
},
.size = 0,
.read = olpc_bat_eeprom_read,
--
1.7.0.87.g0901d