Re: [PATCH 5/5] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy

2013-03-10 Thread Felipe Balbi
On Fri, Mar 08, 2013 at 05:39:53PM +0100, Marc Kleine-Budde wrote: > On 03/08/2013 05:33 PM, Felipe Balbi wrote: > > On Thu, Feb 28, 2013 at 11:57:04AM +0100, Marc Kleine-Budde wrote: > >> @@ -147,19 +146,20 @@ static int ci13xxx_imx_probe(struct platform_device > >> *pdev) > >>return

Re: [PATCH 5/5] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy

2013-03-08 Thread Marc Kleine-Budde
On 03/08/2013 05:33 PM, Felipe Balbi wrote: > On Thu, Feb 28, 2013 at 11:57:04AM +0100, Marc Kleine-Budde wrote: >> @@ -147,19 +146,20 @@ static int ci13xxx_imx_probe(struct platform_device >> *pdev) >> return ret; >> } >> >> -phy_np = of_parse_phandle(pdev->dev.of_node, "f

Re: [PATCH 5/5] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy

2013-03-08 Thread Felipe Balbi
On Thu, Feb 28, 2013 at 11:57:04AM +0100, Marc Kleine-Budde wrote: > @@ -147,19 +146,20 @@ static int ci13xxx_imx_probe(struct platform_device > *pdev) > return ret; > } > > - phy_np = of_parse_phandle(pdev->dev.of_node, "fsl,usbphy", 0); > - if (phy_np) { > -

[PATCH 5/5] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy

2013-02-28 Thread Marc Kleine-Budde
From: Sascha Hauer This patch replaces the hand crafted code to retrieve the phy's phandle from the DT by the helper function devm_usb_get_phy_by_phandle() which has been added in commit: "5d3c28b usb: otg: add device tree support to otg library" Reviewed-by: Kishon Vijay Abraham I Reviewe

[PATCH 5/5] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy

2013-02-27 Thread Marc Kleine-Budde
From: Sascha Hauer This patch replaces the hand crafted code to retrieve the phy's phandle from the DT by the helper function devm_usb_get_phy_by_phandle() which has been added in commit: "5d3c28b usb: otg: add device tree support to otg library" Reviewed-by: Kishon Vijay Abraham I Reviewe