All of lore.kernel.org
 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>,
	'Florian Fainelli' <f.fainelli@gmail.com>
Subject: [PATCH 12/17] gpio: rdc321x: remove unnecessary OOM messages
Date: Tue, 29 Apr 2014 17:42:04 +0900	[thread overview]
Message-ID: <003d01cf6386$e5ccb780$b1662680$%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-rdc321x.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpio/gpio-rdc321x.c b/drivers/gpio/gpio-rdc321x.c
index 7a319e5..9fa7e53 100644
--- a/drivers/gpio/gpio-rdc321x.c
+++ b/drivers/gpio/gpio-rdc321x.c
@@ -143,10 +143,8 @@ static int rdc321x_gpio_probe(struct platform_device *pdev)
 
 	rdc321x_gpio_dev = devm_kzalloc(&pdev->dev, sizeof(struct rdc321x_gpio),
 					GFP_KERNEL);
-	if (!rdc321x_gpio_dev) {
-		dev_err(&pdev->dev, "failed to allocate private data\n");
+	if (!rdc321x_gpio_dev)
 		return -ENOMEM;
-	}
 
 	r = platform_get_resource_byname(pdev, IORESOURCE_IO, "gpio-reg1");
 	if (!r) {
-- 
1.7.10.4



  parent reply	other threads:[~2014-04-29  8:42 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 ` Jingoo Han [this message]
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 ` [PATCH 16/17] gpio: tps65910: " Jingoo Han
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='003d01cf6386$e5ccb780$b1662680$%han@samsung.com' \
    --to=jg1.han@samsung.com \
    --cc=f.fainelli@gmail.com \
    --cc=gnurou@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.