summaryrefslogtreecommitdiff
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-06-13 08:47:42 +0400
committerMark Brown <broonie@linaro.org>2014-06-21 14:14:44 +0400
commit8331acb3a5515c01a1b73424a56f44c50ad7f1b4 (patch)
tree6be29b9c1d7c397cae2de2213f882b0ad7051238 /drivers/spi/spi.c
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlinux-8331acb3a5515c01a1b73424a56f44c50ad7f1b4.tar.xz
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>
Diffstat (limited to 'drivers/spi/spi.c')
-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 d4f9670b51bc..8bbbba5b6236 100644
--- 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;
}