• Chanwoo Choi's avatar
    usb: renesas_usbhs: Replace deprecated API of extcon · 50297b79
    Chanwoo Choi authored
    This patch removes the deprecated API of extcon and then use the new extcon API
    with the unique id to indicate the each external connector (USB-HOST).
    - extcon_get_cable_state(*edev, char *) -> extcon_get_cable_state_(*edev, id)
    
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Felipe Balbi <balbi@ti.com>
    Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
    Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
    Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
    Cc: Peter Chen <peter.chen@freescale.com>
    Cc: Varka Bhadram <varkab@cdac.in>
    Cc: Takeshi Kihara <takeshi.kihara.df@renesas.com>
    Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    50297b79
common.c 17.7 KB