mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 23:24:50 +00:00
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>
This commit is contained in:
parent
48b9750cdb
commit
c88a73b37f
1 changed files with 1 additions and 3 deletions
|
@ -458,10 +458,8 @@ static int tegra_gpio_probe(struct platform_device *pdev)
|
||||||
tegra_gpio_banks = devm_kzalloc(&pdev->dev,
|
tegra_gpio_banks = devm_kzalloc(&pdev->dev,
|
||||||
tegra_gpio_bank_count * sizeof(*tegra_gpio_banks),
|
tegra_gpio_bank_count * sizeof(*tegra_gpio_banks),
|
||||||
GFP_KERNEL);
|
GFP_KERNEL);
|
||||||
if (!tegra_gpio_banks) {
|
if (!tegra_gpio_banks)
|
||||||
dev_err(&pdev->dev, "Couldn't allocate bank structure\n");
|
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
|
||||||
|
|
||||||
irq_domain = irq_domain_add_linear(pdev->dev.of_node,
|
irq_domain = irq_domain_add_linear(pdev->dev.of_node,
|
||||||
tegra_gpio_chip.ngpio,
|
tegra_gpio_chip.ngpio,
|
||||||
|
|
Loading…
Reference in a new issue