gpio: janz-ttl: remove unnecessary OOM messages
authorJingoo Han <jg1.han@samsung.com>
Tue, 29 Apr 2014 08:35:07 +0000 (17:35 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 May 2014 08:54:48 +0000 (10:54 +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>
Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-janz-ttl.c

index 2ecd3a09c743e6dba7434c9cbfab0e5c70bc24c3..255806bcbfe5ac5101a177bb1e77e1c4f6119e84 100644 (file)
@@ -158,7 +158,6 @@ static int ttl_probe(struct platform_device *pdev)
 
        mod = kzalloc(sizeof(*mod), GFP_KERNEL);
        if (!mod) {
-               dev_err(dev, "unable to allocate private data\n");
                ret = -ENOMEM;
                goto out_return;
        }