mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-05 10:17:58 -05:00
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: Jingoo Han <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
5605beb29b
commit
4b7dfd7f6f
1 changed files with 1 additions and 3 deletions
|
|
@ -119,10 +119,8 @@ static int rc5t583_gpio_probe(struct platform_device *pdev)
|
|||
|
||||
rc5t583_gpio = devm_kzalloc(&pdev->dev, sizeof(*rc5t583_gpio),
|
||||
GFP_KERNEL);
|
||||
if (!rc5t583_gpio) {
|
||||
dev_warn(&pdev->dev, "Mem allocation for rc5t583_gpio failed");
|
||||
if (!rc5t583_gpio)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
rc5t583_gpio->gpio_chip.label = "gpio-rc5t583",
|
||||
rc5t583_gpio->gpio_chip.owner = THIS_MODULE,
|
||||
|
|
|
|||
Loading…
Reference in a new issue