aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-em.c
diff options
context:
space:
mode:
authorJingoo Han <[email protected]>2014-04-29 08:34:04 +0000
committerLinus Walleij <[email protected]>2014-05-09 08:54:44 +0000
commitd4c4f883388c8279d36457a28bc8a28e94dff2d8 (patch)
treee6ccda5ea5545fd8d688f2e7e549e73db9e16ac3 /drivers/gpio/gpio-em.c
parentgpio: davinci: remove unnecessary OOM messages (diff)
downloadkernel-d4c4f883388c8279d36457a28bc8a28e94dff2d8.tar.gz
kernel-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 <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
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)
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;
}