mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
gpio: palmas: 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
6c8365f68a
commit
5605beb29b
1 changed files with 1 additions and 3 deletions
|
|
@ -173,10 +173,8 @@ static int palmas_gpio_probe(struct platform_device *pdev)
|
|||
|
||||
palmas_gpio = devm_kzalloc(&pdev->dev,
|
||||
sizeof(*palmas_gpio), GFP_KERNEL);
|
||||
if (!palmas_gpio) {
|
||||
dev_err(&pdev->dev, "Could not allocate palmas_gpio\n");
|
||||
if (!palmas_gpio)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
palmas_gpio->palmas = palmas;
|
||||
palmas_gpio->gpio_chip.owner = THIS_MODULE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue