extcon: adc-jack: Remove the usage of extcon_set_state()
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 18 Jul 2016 07:16:29 +0000 (16:16 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:18:46 +0000 (16:48 +0530)
commitcc60211237086d718e463bcee74004b5bd38a78c
treea602967f27d957dd48732464554786496a28cc0f
parentcdc058320209d69a5eb7692658279e16aceb2d69
extcon: adc-jack: Remove the usage of extcon_set_state()

This patch removes the usage of extcon_set_state() because it uses the bit
masking to change the state of external connectors. The extcon framework
should handle the state by extcon_set/get_cable_state_() with extcon id.

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