[ARM] pxa/MioA701: improve power supply sources
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 15 Nov 2008 15:09:59 +0000 (16:09 +0100)
committerEric Miao <eric.miao@marvell.com>
Tue, 2 Dec 2008 06:43:48 +0000 (14:43 +0800)
commit4aa89f973f515a9e456bcf23e448d5904d428d7d
treeb5cfad4147dbb501b19117346b84ed98a0acaf57
parentc96763d4dc2f4032369f068a5d185238e01da478
[ARM] pxa/MioA701: improve power supply sources

Take advantage of the newly created wm97xx battery driver
and remove useless code in mioa701 board code. Add also the
ac connection detect capability after the matching gpio was
discovered.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/mioa701.c