power: Remove owner field from attribute initialization code in OLPC driver
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 10 Aug 2010 15:21:50 +0000 (08:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 22:33:09 +0000 (15:33 -0700)
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/power/olpc_battery.c

index baefcf1..5ab9109 100644 (file)
@@ -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,