projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0816ea2
)
usb: phy: phy-rcar-usb: delete unnecessary 'out of memory' messages
author
Peter Chen
<peter.chen@freescale.com>
Tue, 14 Oct 2014 07:56:12 +0000
(15:56 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 3 Nov 2014 16:01:04 +0000
(10:01 -0600)
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>
drivers/usb/phy/phy-rcar-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/phy/phy-rcar-usb.c
b/drivers/usb/phy/phy-rcar-usb.c
index 33265a5b2cdf8fdca0fc6ba0b7752a6a54ae9c4f..48795962014167135385393e7361eb47723b4918 100644
(file)
--- a/
drivers/usb/phy/phy-rcar-usb.c
+++ b/
drivers/usb/phy/phy-rcar-usb.c
@@
-202,10
+202,8
@@
static int rcar_usb_phy_probe(struct platform_device *pdev)
}
priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
- if (!priv) {
- dev_err(dev, "priv data allocation error\n");
+ if (!priv)
return -ENOMEM;
- }
priv->reg0 = reg0;
priv->reg1 = reg1;