ARM: pxa: magician: Rename charger cable detection EGPIOs
authorPetr Cvek <petr.cvek@tul.cz>
Mon, 28 Sep 2015 21:32:40 +0000 (23:32 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 14 Oct 2015 21:06:55 +0000 (23:06 +0200)
commitf78b3a126bf40535444a1fe087826019b3d72594
tree1a3c6a075db1b943e3733e9ee39990506c1ababd
parentfa5407ad9cd9aa41e00102073958475a89ac5456
ARM: pxa: magician: Rename charger cable detection EGPIOs

This patch renames EGPIOs, which are used for the charging cable presence
and type detection. Old names did not correspond with an observed
functionality (on board_id 0x3a). The behavior is not:

- AC charger
- USB charger
- Cable detection

, but:

- AC/USB type
- Cable detection1
- Cable detection2

This patch fixes a possible typo in the bit offset for the cable detection
EGPIO declaration, too.

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/include/mach/magician.h
arch/arm/mach-pxa/magician.c