]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: i.MX: use devm_usb_get_phy_by_phandle to get phy
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 13 Jun 2013 15:00:00 +0000 (18:00 +0300)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:11 +0000 (09:54 +0800)
commit4cd4f67d1f54a27a5ff1a7fe555889226eda8a65
tree549303194d5c5c90bc2662a7777bc6c181d84d54
parentddb3ad03dff803366d2fe334a7e2779a2e93b305
usb: chipidea: i.MX: use devm_usb_get_phy_by_phandle to get phy

This patch converts the driver to use devm_usb_get_phy_by_phandle
which makes the code smaller and a bit simpler.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci13xxx_imx.c