linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jingoo Han <jg1.han@samsung.com>
To: 'Linus Walleij' <linus.walleij@linaro.org>
Cc: 'Alexandre Courbot' <gnurou@gmail.com>,
	linux-gpio@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com>,
	'Laxman Dewangan' <ldewangan@nvidia.com>
Subject: [PATCH 16/17] gpio: tps65910: remove unnecessary OOM messages
Date: Tue, 29 Apr 2014 17:45:46 +0900	[thread overview]
Message-ID: <004101cf6387$6a26dba0$3e7492e0$%han@samsung.com> (raw)
In-Reply-To: <003101cf6385$2751dbb0$75f59310$%han@samsung.com>

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>
---
 drivers/gpio/gpio-tps65910.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c
index b6e818e..e2f8cda 100644
--- a/drivers/gpio/gpio-tps65910.c
+++ b/drivers/gpio/gpio-tps65910.c
@@ -123,10 +123,8 @@ static int tps65910_gpio_probe(struct platform_device *pdev)
 
 	tps65910_gpio = devm_kzalloc(&pdev->dev,
 				sizeof(*tps65910_gpio), GFP_KERNEL);
-	if (!tps65910_gpio) {
-		dev_err(&pdev->dev, "Could not allocate tps65910_gpio\n");
+	if (!tps65910_gpio)
 		return -ENOMEM;
-	}
 
 	tps65910_gpio->tps65910 = tps65910;
 
-- 
1.7.10.4



  parent reply	other threads:[~2014-04-29  8:45 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-29  8:29 [PATCH 00/17] gpio: remove unnecessary OOM messages Jingoo Han
2014-04-29  8:31 ` [PATCH 01/17] gpio: adp5520: " Jingoo Han
2014-04-29  8:32 ` [PATCH 02/17] gpio: adp5588: " Jingoo Han
2014-04-29  8:33 ` [PATCH 03/17] gpio: davinci: " Jingoo Han
2014-04-29  8:34 ` [PATCH 04/17] gpio: em: " Jingoo Han
2014-04-29  8:35 ` [PATCH 05/17] gpio: janz-ttl: " Jingoo Han
2014-04-29  8:36 ` [PATCH 06/17] gpio: lynxpoint: " Jingoo Han
2014-04-29  8:37 ` [PATCH 07/17] gpio: moxart: " Jingoo Han
2014-04-29  8:38 ` [PATCH 08/17] gpio: mvebu: " Jingoo Han
2014-04-29 11:25   ` Jason Cooper
2014-04-29  8:39 ` [PATCH 09/17] gpio: palmas: " Jingoo Han
2014-04-29  8:39 ` [PATCH 10/17] gpio: rc5t583: " Jingoo Han
2014-04-29  8:40 ` [PATCH 11/17] gpio: rcar: " Jingoo Han
2014-04-30  1:04   ` Laurent Pinchart
2014-04-29  8:42 ` [PATCH 12/17] gpio: rdc321x: " Jingoo Han
2014-04-29  8:42 ` [PATCH 13/17] gpio: SPEAr: " Jingoo Han
2014-04-29  8:47   ` Viresh Kumar
2014-04-29  8:44 ` [PATCH 14/17] gpio: tegra: " Jingoo Han
2014-04-29  8:44 ` [PATCH 15/17] gpio: tps6586x: " Jingoo Han
2014-04-29  8:45 ` Jingoo Han [this message]
2014-04-29  8:46 ` [PATCH 17/17] gpio: zevio: " Jingoo Han
2014-04-29  9:21 ` [PATCH 00/17] gpio: " Javier Martinez Canillas
2014-05-09  8:56 ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='004101cf6387$6a26dba0$3e7492e0$%han@samsung.com' \
    --to=jg1.han@samsung.com \
    --cc=gnurou@gmail.com \
    --cc=ldewangan@nvidia.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).