projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1273eb0
)
spi: sh-msiof: remove unnecessary OOM messages
author
Jingoo Han
<
[email protected]
>
Tue, 29 Apr 2014 08:21:25 +0000
(17:21 +0900)
committer
Mark Brown
<
[email protected]
>
Tue, 29 Apr 2014 19:01:41 +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 <
[email protected]
>
Acked-by: Geert Uytterhoeven <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/spi/spi-sh-msiof.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-sh-msiof.c
b/drivers/spi/spi-sh-msiof.c
index e850d03e719047638465916633981670da1b51a4..45b09142afe2defcd6be0ed9d0f9a7ea7aa1fc15 100644
(file)
--- a/
drivers/spi/spi-sh-msiof.c
+++ b/
drivers/spi/spi-sh-msiof.c
@@
-642,10
+642,8
@@
static struct sh_msiof_spi_info *sh_msiof_spi_parse_dt(struct device *dev)
u32 num_cs = 1;
info = devm_kzalloc(dev, sizeof(struct sh_msiof_spi_info), GFP_KERNEL);
- if (!info) {
- dev_err(dev, "failed to allocate setup data\n");
+ if (!info)
return NULL;
- }
/* Parse the MSIOF properties */
of_property_read_u32(np, "num-cs", &num_cs);