usb: phy: phy-rcar-gen2-usb: delete unnecessary 'out of memory' messages

The memory subsystem has already had similar message for it.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Peter Chen 2014-10-14 15:56:15 +08:00 committed by Felipe Balbi
parent 9aabd03272
commit 3f8acf35b0
1 changed files with 1 additions and 3 deletions

View File

@ -195,10 +195,8 @@ static int rcar_gen2_usb_phy_probe(struct platform_device *pdev)
return PTR_ERR(base); return PTR_ERR(base);
priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
if (!priv) { if (!priv)
dev_err(dev, "Memory allocation failed\n");
return -ENOMEM; return -ENOMEM;
}
spin_lock_init(&priv->lock); spin_lock_init(&priv->lock);
priv->clk = clk; priv->clk = clk;