diff options
author | Balaji Rao <balajirrao@openmoko.org> | 2009-01-27 14:52:38 +0100 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2009-02-02 17:53:02 +0100 |
commit | ccc9c8b91c2631da2cab46a6fcd9c3106dcb9abb (patch) | |
tree | 0e147976ed48587c9629acac747037a6ceeaccc0 /drivers/power | |
parent | Merge branch 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/k... (diff) | |
download | linux-ccc9c8b91c2631da2cab46a6fcd9c3106dcb9abb.tar.xz linux-ccc9c8b91c2631da2cab46a6fcd9c3106dcb9abb.zip |
pcf50633_charger: Fix typo
container_of(psy, struct pcf50633_mbc, usb); should be
container_of(psy, struct pcf50633_mbc, adapter);
Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
Cc: Andy Green <andy@openmoko.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/pcf50633-charger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/power/pcf50633-charger.c b/drivers/power/pcf50633-charger.c index e988ec130fcd..41aec2acbb91 100644 --- a/drivers/power/pcf50633-charger.c +++ b/drivers/power/pcf50633-charger.c @@ -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) { |