mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
backlight: lm3533_bl: 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: Johan Hovold <jhovold@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
1 parent
1bd04820b9
commit
44d516f99b
1 file changed
+1
-4
@@ -296,11 +296,8 @@ static int lm3533_bl_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
bl = devm_kzalloc(&pdev->dev, sizeof(*bl), GFP_KERNEL);
|
||||
if (!bl) {
|
||||
dev_err(&pdev->dev,
|
||||
"failed to allocate memory for backlight\n");
|
||||
if (!bl)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
bl->lm3533 = lm3533;
|
||||
bl->id = pdev->id;
|
||||
|
||||
Reference in new issue
Block a user