Skip to contentSkip to conversation

backlight-adp8870-remove-unnecessary-oom-messages.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 4, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: [merged] backlight-adp8870-remove-unnecessary-oom-messages.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 04 Apr 2014 12:33:22 -0700

The patch titled
Subject: backlight: adp8870: remove unnecessary OOM messages
has been removed from the -mm tree. Its filename was
backlight-adp8870-remove-unnecessary-oom-messages.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jingoo Han <[email protected]>
Subject: backlight: adp8870: remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message.

---

 drivers/video/backlight/adp8870_bl.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/video/backlight/adp8870_bl.c renamed from drivers/video/backlight/adp8870_bl.c~backlight-adp8870-remove-unnecessary-oom-messages +1 -3
diff -puN drivers/video/backlight/adp8870_bl.c~backlight-adp8870-remove-unnecessary-oom-messages drivers/video/backlight/adp8870_bl.c
@@ -246,10 +246,8 @@ static int adp8870_led_probe(struct i2c_
 
 	led = devm_kzalloc(&client->dev, pdata->num_leds * sizeof(*led),
 				GFP_KERNEL);
-	if (led == NULL) {
-		dev_err(&client->dev, "failed to alloc memory\n");
+	if (led == NULL)
 		return -ENOMEM;
-	}
 
 	ret = adp8870_write(client, ADP8870_ISCLAW, pdata->led_fade_law);
 	if (ret)

_

Patches currently in -mm which might be from [email protected] are

origin.patch maintainers-update-ibm-serveraid-raid-info.patch drivers-video-backlight-backlightc-remove-backlight-sysfs-uevent.patch linux-next.patch