projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aabd03
)
usb: phy: phy-rcar-gen2-usb: delete unnecessary 'out of memory' messages
author
Peter Chen
<peter.chen@freescale.com>
Tue, 14 Oct 2014 07:56:15 +0000
(15:56 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 3 Nov 2014 16:01:05 +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-gen2-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/phy/phy-rcar-gen2-usb.c
b/drivers/usb/phy/phy-rcar-gen2-usb.c
index 388d89f6b14117f82d5324976211bda5edec4130..f83808413ba2296ccda2587bf719cf6ce0219dd5 100644
(file)
--- a/
drivers/usb/phy/phy-rcar-gen2-usb.c
+++ b/
drivers/usb/phy/phy-rcar-gen2-usb.c
@@
-195,10
+195,8
@@
static int rcar_gen2_usb_phy_probe(struct platform_device *pdev)
return PTR_ERR(base);
priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
- if (!priv) {
- dev_err(dev, "Memory allocation failed\n");
+ if (!priv)
return -ENOMEM;
- }
spin_lock_init(&priv->lock);
priv->clk = clk;