usb: chipidea: refine PHY operation
authorPeter Chen <peter.chen@freescale.com>
Wed, 19 Feb 2014 05:41:40 +0000 (13:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Feb 2014 01:07:52 +0000 (17:07 -0800)
commitc859aa65a7ec40c02f435f14fa71de2a87c64513
treee3537338526d1b40612cf0434e7ec87553b869e4
parent3c701651c8c5f35e846512070cdbf2f5980db62c
usb: chipidea: refine PHY operation

- Delete global_phy due to we can get the phy from phy layer now
- using devm_usb_get_phy to instead of usb_get_phy
- delete the otg_set_peripheral, which should be handled by otg layer

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/core.c
drivers/usb/chipidea/udc.c