ab8500-charger: Add UsbLineCtrl2 reference
authorMarcus Cooper <marcus.xm.cooper@stericsson.com>
Wed, 29 Aug 2012 15:56:19 +0000 (17:56 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 7 Mar 2013 04:35:50 +0000 (12:35 +0800)
commitb3ea5f451e4e435b650e34142f8552002dc21297
treef02eb06806e55f73691f157d716dc0f14be234c6
parent257107ae6b9ba1f3822a8b079acef57a752dcc4c
ab8500-charger: Add UsbLineCtrl2 reference

When the state of USB Charge detection is changed then the calls
use a define for another register in other bank. This change
creates a new define for the correct register and removes the
magic numbers that are present.

Signed-off-by: Marcus Cooper <marcus.xm.cooper@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Hakan BERG <hakan.berg@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
drivers/power/ab8500_charger.c
include/linux/mfd/abx500/ab8500-bm.h