Home
last modified time | relevance | path

Searched hist:a2fd2423240fe1abd7a154a1cc0fd1624c339bff (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/usb/phy/
H A Dphy-omap-otg.cdiff a2fd2423240fe1abd7a154a1cc0fd1624c339bff Wed Jul 01 06:11:31 CEST 2015 Chanwoo Choi <cw00.choi@samsung.com> usb: phy: omap-otg: Replace deprecated API of extcon

This patch removes the deprecated notifier API of extcon framwork
and then use the new extcon API with the unique id to indicate
the each external connector (USB, USB-HOST).

Alter deprecated API as following:
- extcon_register_interest() -> extcon_register_notifier()
- extcon_get_cable_state(*edev, char *) -> extcon_get_cable_state_(*edev, id)

[ balbi@ti.com : fix build break ]

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>