From: Jingoo Han Date: Tue, 29 Apr 2014 08:35:07 +0000 (+0900) Subject: gpio: janz-ttl: remove unnecessary OOM messages X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4920c4aa2d551c0e6b3a56280ba08dafef59d8b1;p=linux-beck.git gpio: janz-ttl: 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 Reviewed-by: Javier Martinez Canillas Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-janz-ttl.c index 2ecd3a09c743..255806bcbfe5 100644 --- a/drivers/gpio/gpio-janz-ttl.c +++ b/drivers/gpio/gpio-janz-ttl.c @@ -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; }