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:
7171511
)
spi: Remove redundant OOM message in spi.c
author
Sachin Kamat
<sachin.kamat@samsung.com>
Fri, 13 Jun 2014 04:47:42 +0000
(10:17 +0530)
committer
Mark Brown
<broonie@linaro.org>
Sat, 21 Jun 2014 10:14:44 +0000
(11:14 +0100)
Let memory subsystem handle the error logging.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Reviewed-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi.c
b/drivers/spi/spi.c
index d4f9670b51bcbd7947b811b5f8dfab8afc711248..8bbbba5b62363fb5bb40d8b4da830e0555296ebf 100644
(file)
--- a/
drivers/spi/spi.c
+++ b/
drivers/spi/spi.c
@@
-352,7
+352,6
@@
struct spi_device *spi_alloc_device(struct spi_master *master)
spi = kzalloc(sizeof(*spi), GFP_KERNEL);
if (!spi) {
- dev_err(dev, "cannot alloc spi_device\n");
spi_master_put(master);
return NULL;
}