mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
gpio: zevio: 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
0661175a2a
commit
50908d61ea
1 changed files with 1 additions and 3 deletions
|
|
@ -178,10 +178,8 @@ static int zevio_gpio_probe(struct platform_device *pdev)
|
|||
int status, i;
|
||||
|
||||
controller = devm_kzalloc(&pdev->dev, sizeof(*controller), GFP_KERNEL);
|
||||
if (!controller) {
|
||||
dev_err(&pdev->dev, "not enough free memory\n");
|
||||
if (!controller)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
/* Copy our reference */
|
||||
controller->chip.gc = zevio_gpio_chip;
|
||||
|
|
|
|||
Loading…
Reference in a new issue