summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-29 10:34:04 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 10:54:44 +0200
commitd4c4f883388c8279d36457a28bc8a28e94dff2d8 (patch)
treee6ccda5ea5545fd8d688f2e7e549e73db9e16ac3 /drivers/gpio
parentgpio: davinci: remove unnecessary OOM messages (diff)
downloadlinux-d4c4f883388c8279d36457a28bc8a28e94dff2d8.tar.xz
linux-d4c4f883388c8279d36457a28bc8a28e94dff2d8.zip
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')
-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)
p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
if (!p) {
- dev_err(&pdev->dev, "failed to allocate driver data\n");
ret = -ENOMEM;
goto err0;
}