power: supply: axp288_charger: Replace the extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 30 Nov 2016 05:57:31 +0000 (14:57 +0900)
committerSebastian Reichel <sre@kernel.org>
Wed, 4 Jan 2017 21:00:02 +0000 (22:00 +0100)
commitc31480348fcfba76c351dbeea97f93622a3029ce
tree4054c16ef14fe76029fb58f36e207b8b61d504cb
parenta50b0dbbaf49521cc47a0bcfd20a6f658258541c
power: supply: axp288_charger: Replace the extcon API

This patch uses the resource-managed extcon API for extcon_register_notifier()
and replaces the deprecated extcon API as following:
- extcon_get_cable_state_() -> extcon_get_state()

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/axp288_charger.c