extcon: axp288: Remove usb_phy notification code
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Dec 2016 00:13:07 +0000 (01:13 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 9 Jan 2017 01:04:10 +0000 (10:04 +0900)
commit1490d157e0759b12913cc0d3b734a03bbcb8cb61
tree17acde51307bbcf02b4d11ba13d59d0aca6c9869
parent768842413997c3c946a716427b78cc308a4fdae0
extcon: axp288: Remove usb_phy notification code

The usb_phy based intel-usb-phy code never got merged into the
mainline kernel, so the devm_usb_get_phy() call will always fail,
blocking the driver from loading.

Since new drivers should use the generic-phy framework, not the
old-style usb_phy stuff, keeping this around is not useful.

Therefor this patch removes the usb_phy notification bits, which together
with the patch to remove the platform_data dependency, makes this driver
actually successfully probe on systems with an axp288 pmic.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-axp288.c