power: charger-manager: Get external power souce information only from EXTCON.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Tue, 21 Oct 2014 07:38:58 +0000 (16:38 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:01:02 +0000 (12:01 +0900)
commit361f1558dfc48cab51df9d2194fcb1301dcb65e9
treeed83ce2072e0bca93beef0a9b2153a1e8c64783d
parent0f5bcde2ecd7e9900791b2ce0b087623dc150d7c
power: charger-manager: Get external power souce information only from EXTCON.

When charger-manager checks whether external power source is available,
it gets information from charger IC driver. However, it's not correct source,
charger IC doesn't have responsibilty to give cable connection status.
The charger-manager already gets cable information from EXTCON susbsystem,
so it can re-use it.

Change-Id: I408546beefe63707fcb927db7d92c4005f3848f8
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
drivers/power/charger-manager.c