usb: phy: phy-mxs-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:
parent
3f8acf35b0
commit
c62fe55648
|
@ -390,10 +390,8 @@ static int mxs_phy_probe(struct platform_device *pdev)
|
||||||
}
|
}
|
||||||
|
|
||||||
mxs_phy = devm_kzalloc(&pdev->dev, sizeof(*mxs_phy), GFP_KERNEL);
|
mxs_phy = devm_kzalloc(&pdev->dev, sizeof(*mxs_phy), GFP_KERNEL);
|
||||||
if (!mxs_phy) {
|
if (!mxs_phy)
|
||||||
dev_err(&pdev->dev, "Failed to allocate USB PHY structure!\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
|
|
||||||
/* Some SoCs don't have anatop registers */
|
/* Some SoCs don't have anatop registers */
|
||||||
if (of_get_property(np, "fsl,anatop", NULL)) {
|
if (of_get_property(np, "fsl,anatop", NULL)) {
|
||||||
|
|
Loading…
Reference in New Issue