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>,
'Fabian Vogt' <fabian@ritter-vogt.de>
Subject: [PATCH 17/17] gpio: zevio: remove unnecessary OOM messages
Date: Tue, 29 Apr 2014 17:46:22 +0900 [thread overview]
Message-ID: <004201cf6387$7fa83aa0$7ef8afe0$%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-zevio.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c
index f20941c..112a107d 100644
--- a/drivers/gpio/gpio-zevio.c
+++ b/drivers/gpio/gpio-zevio.c
@@ -182,10 +182,8 @@ static int zevio_gpio_probe(struct platform_device *pdev)
int status, i;
controller = devm_kzalloc(&pdev->dev, sizeof(*controller), GFP_KERNEL);
- if (!controller) {
- dev_err(&pdev->dev, "not enough free memory\n");
+ if (!controller)
return -ENOMEM;
- }
/* Copy our reference */
controller->chip.gc = zevio_gpio_chip;
--
1.7.10.4
next prev parent reply other threads:[~2014-04-29 8:46 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 ` [PATCH 16/17] gpio: tps65910: " Jingoo Han
2014-04-29 8:46 ` Jingoo Han [this message]
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='004201cf6387$7fa83aa0$7ef8afe0$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=fabian@ritter-vogt.de \
--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.