Commit 4b7dfd7f authored by Jingoo Han's avatar Jingoo Han Committed by Linus Walleij

gpio: rc5t583: remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Reviewed-by: default avatarJavier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5605beb2
...@@ -119,10 +119,8 @@ static int rc5t583_gpio_probe(struct platform_device *pdev) ...@@ -119,10 +119,8 @@ static int rc5t583_gpio_probe(struct platform_device *pdev)
rc5t583_gpio = devm_kzalloc(&pdev->dev, sizeof(*rc5t583_gpio), rc5t583_gpio = devm_kzalloc(&pdev->dev, sizeof(*rc5t583_gpio),
GFP_KERNEL); GFP_KERNEL);
if (!rc5t583_gpio) { if (!rc5t583_gpio)
dev_warn(&pdev->dev, "Mem allocation for rc5t583_gpio failed");
return -ENOMEM; return -ENOMEM;
}
rc5t583_gpio->gpio_chip.label = "gpio-rc5t583", rc5t583_gpio->gpio_chip.label = "gpio-rc5t583",
rc5t583_gpio->gpio_chip.owner = THIS_MODULE, rc5t583_gpio->gpio_chip.owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment