extcon: adc-jack: Use the internal data instead of using struct extcon_dev
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 26 Dec 2016 11:47:13 +0000 (20:47 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 9 Jan 2017 01:04:11 +0000 (10:04 +0900)
commit6e3a7e89ff1a13d6e09f63ce9eff4ad3fad7b544
treea589ac9429c273ec2143da7e9544a2e770d0fff8
parent2f556bdb9f2e3794722c0d9186db9799b35071c4
extcon: adc-jack: Use the internal data instead of using struct extcon_dev

This patch uses the internal dev instance instead of using the field of struct
extcon_dev because the core structure (extcon_dev) of extcon have to be touched
by only extcon core driver.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-adc-jack.c