]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Merge git://git.infradead.org/users/cbou/battery-2.6.29
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Feb 2009 00:28:08 +0000 (16:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Feb 2009 00:28:08 +0000 (16:28 -0800)
* git://git.infradead.org/users/cbou/battery-2.6.29:
  pcf50633_charger: Fix typo

drivers/power/pcf50633-charger.c

index e988ec130fcd72fe5e267b3399775d109e663cd3..41aec2acbb916ceb3d5c6ce0072408f91075bec2 100644 (file)
@@ -199,7 +199,8 @@ static int adapter_get_property(struct power_supply *psy,
                        enum power_supply_property psp,
                        union power_supply_propval *val)
 {
-       struct pcf50633_mbc *mbc = container_of(psy, struct pcf50633_mbc, usb);
+       struct pcf50633_mbc *mbc = container_of(psy,
+                               struct pcf50633_mbc, adapter);
        int ret = 0;
 
        switch (psp) {