Commit graph android_kernel_sony_sdm845/include/linux/usb/usb_phy_generic.h
Message SHA1
usb: phy: generic: switch over to IS_ENABLED()
when checking if our generic PHY is enabled,
it's a lot easier to use IS_ENABLED() instead
of manually checking for it. While at that, also
remove the bogus defined(MODULE) at the end of
the line.

Signed-off-by: Felipe Balbi <balbi@ti.com>

Felipe Balbi   commited 2014-04-21 14:07:25 -05:00
dca769bd5a
usb: phy: generic: allow multiples calls to usb_phy_generic_register()
it's now very easy to return a platform_device pointer
and have the caller pass it as argument when calling
usb_phy_generic_unregister().

Signed-off-by: Felipe Balbi <balbi@ti.com>

Felipe Balbi   commited 2014-04-21 14:07:25 -05:00
2f36ff6915
usb: phy: rename <linux/usb/usb_phy_gen_xceiv.h> to <linux/usb/usb_phy_generic.h>
now that all functions match the driver name,
the only missing piece is to rename the header
file itself.

Signed-off-by: Felipe Balbi <balbi@ti.com>

Felipe Balbi   commited 2014-04-21 14:07:24 -05:00
d7078df6be
Renamed from include/linux/usb/usb_phy_gen_xceiv.h (Browse further)