gpio: adp5520: 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
9d5d96ef2c
commit
e8a71aaa88
1 changed files with 1 additions and 3 deletions
|
@ -106,10 +106,8 @@ static int adp5520_gpio_probe(struct platform_device *pdev)
|
||||||
}
|
}
|
||||||
|
|
||||||
dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL);
|
dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL);
|
||||||
if (dev == NULL) {
|
if (dev == NULL)
|
||||||
dev_err(&pdev->dev, "failed to alloc memory\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
|
|
||||||
dev->master = pdev->dev.parent;
|
dev->master = pdev->dev.parent;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue