From: Jingoo Han Date: Thu, 3 Apr 2014 21:48:56 +0000 (-0700) Subject: backlight: aat2870: remove unnecessary OOM messages X-Git-Tag: accepted/tizen/common/20141203.182822~309^2~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78b35cf81e5d8b449f09aef0a65ac2d521dcce36;p=platform%2Fkernel%2Flinux-arm64.git 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 Acked-by: Jinyoung Park Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/backlight/aat2870_bl.c b/drivers/video/backlight/aat2870_bl.c index ee0c0a9..ec5350f 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; }