Skip to contentSkip to conversation

rtc-rtc-ds1390-remove-unnecessary-oom-messages.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 4, 2014 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

Subject: [merged] rtc-rtc-ds1390-remove-unnecessary-oom-messages.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 04 Apr 2014 12:34:48 -0700

The patch titled
Subject: rtc: rtc-ds1390: remove unnecessary OOM messages
has been removed from the -mm tree. Its filename was
rtc-rtc-ds1390-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: rtc: rtc-ds1390: remove unnecessary OOM messages

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

---

 drivers/rtc/rtc-ds1390.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/rtc/rtc-ds1390.c renamed from drivers/rtc/rtc-ds1390.c~rtc-rtc-ds1390-remove-unnecessary-oom-messages +2 -3
diff -puN drivers/rtc/rtc-ds1390.c~rtc-rtc-ds1390-remove-unnecessary-oom-messages drivers/rtc/rtc-ds1390.c
@@ -132,10 +132,9 @@ static int ds1390_probe(struct spi_devic
 	spi_setup(spi);
 
 	chip = devm_kzalloc(&spi->dev, sizeof(*chip), GFP_KERNEL);
-	if (!chip) {
-		dev_err(&spi->dev, "unable to allocate device memory\n");
+	if (!chip)
 		return -ENOMEM;
-	}
+
 	spi_set_drvdata(spi, chip);
 
 	res = ds1390_get_reg(&spi->dev, DS1390_REG_SECONDS, &tmp);

_

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