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 baefcf1cffc9cdda1e8792aeddf3973621b0c1da..5ab9109b69e6679a02ec182fb51012d59f8ee1b6 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,