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:
01ad32d
)
usb: phy: phy-am335x-control: delete unnecessary 'out of memory' messages
author
Peter Chen
<peter.chen@freescale.com>
Tue, 14 Oct 2014 07:56:14 +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-am335x-control.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/phy/phy-am335x-control.c
b/drivers/usb/phy/phy-am335x-control.c
index 35b6083b799949bc30f4f359ee62a55542959ca9..2e923c581809fa6c459842154db281c76c070bb7 100644
(file)
--- a/
drivers/usb/phy/phy-am335x-control.c
+++ b/
drivers/usb/phy/phy-am335x-control.c
@@
-147,10
+147,8
@@
static int am335x_control_usb_probe(struct platform_device *pdev)
phy_ctrl = of_id->data;
ctrl_usb = devm_kzalloc(&pdev->dev, sizeof(*ctrl_usb), GFP_KERNEL);
- if (!ctrl_usb) {
- dev_err(&pdev->dev, "unable to alloc memory for control usb\n");
+ if (!ctrl_usb)
return -ENOMEM;
- }
ctrl_usb->dev = &pdev->dev;