gpio: rcar: remove unnecessary OOM messages
authorJingoo Han <jg1.han@samsung.com>
Tue, 29 Apr 2014 08:40:59 +0000 (17:40 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 May 2014 08:55:11 +0000 (10:55 +0200)
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>
drivers/gpio/gpio-rcar.c

index bfcfeeefcf78f03b4f5c99d28f13cd9459f2f1fa..0c9f803fc1acdb3fe9e6798ce506e1ec21a41680 100644 (file)
@@ -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;
        }