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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 20:47:24 +0000 (13:47 -0700)
commitea1418b5f1a394d11c8cdb91ef19d24dcd9c0045
treeae58876290b1f9e16d762f5145bbf68e45c26fb4
parent0404ae035149c83fc9a04818aa7da35e482686ea
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