summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-rcar.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-29 12:40:59 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 12:55:11 +0400
commit41893360afb9d49181ce9714286de61ee50c48b0 (patch)
tree92383e65179951ff23471a2c9b2e90a327ae9755 /drivers/gpio/gpio-rcar.c
parent4b7dfd7f6f1ac7898cd2c0fa9b490e35b2f4beac (diff)
downloadlinux-41893360afb9d49181ce9714286de61ee50c48b0.tar.xz
gpio: rcar: 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> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-rcar.c')
-rw-r--r--drivers/gpio/gpio-rcar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index bfcfeeefcf78..0c9f803fc1ac 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -363,7 +363,6 @@ static int gpio_rcar_probe(struct platform_device *pdev)
p = devm_kzalloc(dev, sizeof(*p), GFP_KERNEL);
if (!p) {
- dev_err(dev, "failed to allocate driver data\n");
ret = -ENOMEM;
goto err0;
}