usb: gadget: udc: Replace the deprecated extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 14 Jul 2017 06:18:49 +0000 (15:18 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 16 Aug 2017 00:21:48 +0000 (09:21 +0900)
commitee61371127c59fa8488aede5773bb48f1d31406d
treefa48ebfb5aedf609b917bdf90524dcab18749417
parent02026de829e1bc96a2deb06a4c3ffb6e7db36b12
usb: gadget: udc: Replace the deprecated extcon API

This patch replaces the deprecated extcon API as following:
- extcon_get_cable_state_() -> extcon_get_state()

Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/usb/gadget/udc/snps_udc_plat.c