projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e8231b
)
spi: tle62x0: remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 29 Apr 2014 08:22:32 +0000
(17:22 +0900)
committer
Mark Brown
<broonie@linaro.org>
Tue, 29 Apr 2014 19:01:42 +0000
(12:01 -0700)
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-tle62x0.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-tle62x0.c
b/drivers/spi/spi-tle62x0.c
index 2d4010d80824a189710cf851f1a5c8e84226b26b..daf5aa1c24c385d80d32a91531c06476564fec87 100644
(file)
--- a/
drivers/spi/spi-tle62x0.c
+++ b/
drivers/spi/spi-tle62x0.c
@@
-253,10
+253,8
@@
static int tle62x0_probe(struct spi_device *spi)
}
st = kzalloc(sizeof(struct tle62x0_state), GFP_KERNEL);
- if (st == NULL) {
- dev_err(&spi->dev, "no memory for device state\n");
+ if (st == NULL)
return -ENOMEM;
- }
st->us = spi;
st->nr_gpio = pdata->gpio_count;