Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: lynxpoint: 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>

authored by

Jingoo Han and committed by
Linus Walleij
1981d084 4920c4aa

+1 -3
+1 -3
drivers/gpio/gpio-lynxpoint.c
··· 375 375 int ret = -ENODEV; 376 376 377 377 lg = devm_kzalloc(dev, sizeof(struct lp_gpio), GFP_KERNEL); 378 - if (!lg) { 379 - dev_err(dev, "can't allocate lp_gpio chip data\n"); 378 + if (!lg) 380 379 return -ENOMEM; 381 - } 382 380 383 381 lg->pdev = pdev; 384 382 platform_set_drvdata(pdev, lg);