On Fri, 2014-04-25 at 15:53 -0500, Felipe Balbi wrote:
> On Thu, Apr 24, 2014 at 01:49:38PM -0300, Fabio Estevam wrote:
> > On Thu, Apr 24, 2014 at 12:48 PM, Ivan T. Ivanov wrote:
> >
> > > + motg->vddcx = devm_regulator_get(motg->phy.dev, "HSUSB_VDDCX");
> > > + if (IS_ERR(motg->vddc
On Thu, Apr 24, 2014 at 01:49:38PM -0300, Fabio Estevam wrote:
> On Thu, Apr 24, 2014 at 12:48 PM, Ivan T. Ivanov wrote:
>
> > + motg->vddcx = devm_regulator_get(motg->phy.dev, "HSUSB_VDDCX");
> > + if (IS_ERR(motg->vddcx)) {
> > + dev_err(motg->phy.dev, "unable to get h
On Thu, Apr 24, 2014 at 12:48 PM, Ivan T. Ivanov wrote:
> + motg->vddcx = devm_regulator_get(motg->phy.dev, "HSUSB_VDDCX");
> + if (IS_ERR(motg->vddcx)) {
> + dev_err(motg->phy.dev, "unable to get hsusb vddcx\n");
> + return PTR_ERR(motg->vddcx);
> +
From: "Ivan T. Ivanov"
Move memory, regulators, clocks and irq allocation to
devm_* variants. Properly check for valid clk handles.
Signed-off-by: Ivan T. Ivanov
---
drivers/usb/phy/phy-msm-usb.c | 192 --
1 file changed, 73 insertions(+), 119 deletions(
4 matches
Mail list logo