aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-29 04:35:07 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 04:54:48 -0400
commit4920c4aa2d551c0e6b3a56280ba08dafef59d8b1 (patch)
tree7fd165e3256314b056f03510505035066b0c7d7a
parentd4c4f883388c8279d36457a28bc8a28e94dff2d8 (diff)
gpio: janz-ttl: remove unnecessary OOM messages
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> Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/gpio/gpio-janz-ttl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-janz-ttl.c
index 2ecd3a09c743..255806bcbfe5 100644
--- a/drivers/gpio/gpio-janz-ttl.c
+++ b/drivers/gpio/gpio-janz-ttl.c
@@ -158,7 +158,6 @@ static int ttl_probe(struct platform_device *pdev)
158 158
159 mod = kzalloc(sizeof(*mod), GFP_KERNEL); 159 mod = kzalloc(sizeof(*mod), GFP_KERNEL);
160 if (!mod) { 160 if (!mod) {
161 dev_err(dev, "unable to allocate private data\n");
162 ret = -ENOMEM; 161 ret = -ENOMEM;
163 goto out_return; 162 goto out_return;
164 } 163 }