aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-em.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-29 04:34:04 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 04:54:44 -0400
commitd4c4f883388c8279d36457a28bc8a28e94dff2d8 (patch)
treee6ccda5ea5545fd8d688f2e7e549e73db9e16ac3 /drivers/gpio/gpio-em.c
parent9ea9363c1b012cba2c4a123b34eec8a3007c6140 (diff)
gpio: em: 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>
Diffstat (limited to 'drivers/gpio/gpio-em.c')
-rw-r--r--drivers/gpio/gpio-em.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c
index 1da1aa418d7e..cde36054c387 100644
--- a/drivers/gpio/gpio-em.c
+++ b/drivers/gpio/gpio-em.c
@@ -284,7 +284,6 @@ static int em_gio_probe(struct platform_device *pdev)
284 284
285 p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL); 285 p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
286 if (!p) { 286 if (!p) {
287 dev_err(&pdev->dev, "failed to allocate driver data\n");
288 ret = -ENOMEM; 287 ret = -ENOMEM;
289 goto err0; 288 goto err0;
290 } 289 }