aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-29 04:44:14 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 04:55:23 -0400
commitc88a73b37fc9781347f6d7ca9134d84a1475d7f6 (patch)
tree55bd0e91ed73c526039232d67a8cc96801a6b08e /drivers/gpio
parent48b9750cdb62ed93c9a1a934bb2c59c371850d08 (diff)
gpio: tegra: 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')
-rw-r--r--drivers/gpio/gpio-tegra.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index 2b49f878b56c..c6bdc2ed2445 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -458,10 +458,8 @@ static int tegra_gpio_probe(struct platform_device *pdev)
458 tegra_gpio_banks = devm_kzalloc(&pdev->dev, 458 tegra_gpio_banks = devm_kzalloc(&pdev->dev,
459 tegra_gpio_bank_count * sizeof(*tegra_gpio_banks), 459 tegra_gpio_bank_count * sizeof(*tegra_gpio_banks),
460 GFP_KERNEL); 460 GFP_KERNEL);
461 if (!tegra_gpio_banks) { 461 if (!tegra_gpio_banks)
462 dev_err(&pdev->dev, "Couldn't allocate bank structure\n");
463 return -ENODEV; 462 return -ENODEV;
464 }
465 463
466 irq_domain = irq_domain_add_linear(pdev->dev.of_node, 464 irq_domain = irq_domain_add_linear(pdev->dev.of_node,
467 tegra_gpio_chip.ngpio, 465 tegra_gpio_chip.ngpio,