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:
3b20b89
)
backlight: hx8357: remove unnecessary OOM messages
author
Jingoo Han
<
[email protected]
>
Thu, 3 Apr 2014 21:49:00 +0000
(14:49 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 3 Apr 2014 23:21:10 +0000
(16:21 -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: Maxime Ripard <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/backlight/hx8357.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/hx8357.c
b/drivers/video/backlight/hx8357.c
index 985e854e244b108cc2dce384dc91dbb8f5f8ea73..23f50b92a930b25f80986a529f2bad3fb5d6c877 100644
(file)
--- a/
drivers/video/backlight/hx8357.c
+++ b/
drivers/video/backlight/hx8357.c
@@
-587,10
+587,8
@@
static int hx8357_probe(struct spi_device *spi)
int i, ret;
lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL);
- if (!lcd) {
- dev_err(&spi->dev, "Couldn't allocate lcd internal structure!\n");
+ if (!lcd)
return -ENOMEM;
- }
ret = spi_setup(spi);
if (ret < 0) {