summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-03 23:48:56 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:09 +0200
commit78b35cf81e5d8b449f09aef0a65ac2d521dcce36 (patch)
treeb1ef60efedfaaad5a6eb255db25a7792a41727f9
parentbacklight: update backlight status when necessary (diff)
downloadlinux-78b35cf81e5d8b449f09aef0a65ac2d521dcce36.tar.xz
linux-78b35cf81e5d8b449f09aef0a65ac2d521dcce36.zip
backlight: aat2870: remove unnecessary OOM messages
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> Acked-by: Jinyoung Park <jinyoungp@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/video/backlight/aat2870_bl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/backlight/aat2870_bl.c b/drivers/video/backlight/aat2870_bl.c
index ee0c0a982e4e..ec5350f2c28a 100644
--- a/drivers/video/backlight/aat2870_bl.c
+++ b/drivers/video/backlight/aat2870_bl.c
@@ -149,8 +149,6 @@ static int aat2870_bl_probe(struct platform_device *pdev)
sizeof(struct aat2870_bl_driver_data),
GFP_KERNEL);
if (!aat2870_bl) {
- dev_err(&pdev->dev,
- "Failed to allocate memory for aat2870 backlight\n");
ret = -ENOMEM;
goto out;
}