backlight: aat2870: remove unnecessary OOM messages
authorJingoo Han <jg1.han@samsung.com>
Thu, 3 Apr 2014 21:48:56 +0000 (14:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:09 +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 <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>
drivers/video/backlight/aat2870_bl.c

index ee0c0a982e4eebb8be7ebc06fc9866f1c1ac0e66..ec5350f2c28a5ad135ec9721d6a770135514b15c 100644 (file)
@@ -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;
        }