summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-06-13 10:17:42 +0530
committerNitin Garg <nitin.garg@freescale.com>2015-04-14 14:01:29 -0500
commit58daee1ddf0a4531f5e63417e4cec6d8eb10d62b (patch)
tree77dc4a72e4eb1b20d80f76c026cad56386256c3f /drivers/spi
parent23c66bc343e68acaae4f0a778189990e9578a9f7 (diff)
spi: Remove redundant OOM message in spi.c
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> (cherry picked from commit 8331acb3a5515c01a1b73424a56f44c50ad7f1b4) (cherry picked from commit 6cd6a0353c0f8e294f1372d436faba5d229a3aa0)
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index c7ff616ea63d..66b61a4844f3 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -357,7 +357,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;
}