ARM: s3c24xx: fix gta02 build error
authorArnd Bergmann <arnd@arndb.de>
Sat, 15 Mar 2014 10:43:39 +0000 (11:43 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:26:14 +0000 (18:26 +0100)
commit645e27b05203d1535819390bc40660c1669e6093
treedcafbebcd064355321236103746dca7ae5ebbb4c
parent37373f161b14a1462dcc3331548417a65f749636
ARM: s3c24xx: fix gta02 build error

The gta02 has always been broken in the case when CONFIG_PCF50633_ADC
is not used, since gta02_charger_worker then passes a nonexisting
variable into the pcf50633_mbc_usb_curlim_set() function.

This addresses the obvious typo by using the variable that is
used everywhere else in this file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c24xx/mach-gta02.c