summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-janz-ttl.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-29 17:35:07 +0900
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 10:54:48 +0200
commit4920c4aa2d551c0e6b3a56280ba08dafef59d8b1 (patch)
tree7fd165e3256314b056f03510505035066b0c7d7a /drivers/gpio/gpio-janz-ttl.c
parentd4c4f883388c8279d36457a28bc8a28e94dff2d8 (diff)
downloadlinux-4920c4aa2d551c0e6b3a56280ba08dafef59d8b1.tar.bz2
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 <jg1.han@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-janz-ttl.c')
-rw-r--r--drivers/gpio/gpio-janz-ttl.c1
1 files changed, 0 insertions, 1 deletions
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;
}