OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a7776
)
spi: spi-ep93xx: remove dev_err() for kzalloc() failure
author
H Hartley Sweeten
<hartleys@visionengravers.com>
Tue, 2 Jul 2013 17:08:59 +0000
(10:08 -0700)
committer
Mark Brown
<broonie@linaro.org>
Mon, 15 Jul 2013 10:37:14 +0000
(11:37 +0100)
The kzalloc() failure will have already output a message.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ep93xx.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-ep93xx.c
b/drivers/spi/spi-ep93xx.c
index
c2660c2
..
7a44163
100644
(file)
--- a/
drivers/spi/spi-ep93xx.c
+++ b/
drivers/spi/spi-ep93xx.c
@@
-1004,10
+1004,8
@@
static int ep93xx_spi_probe(struct platform_device *pdev)
}
master = spi_alloc_master(&pdev->dev, sizeof(*espi));
- if (!master) {
- dev_err(&pdev->dev, "failed to allocate spi master\n");
+ if (!master)
return -ENOMEM;
- }
master->setup = ep93xx_spi_setup;
master->transfer = ep93xx_spi_transfer;