mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
gpio: davinci: 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
1a25908d79
commit
9ea9363c1b
1 changed files with 1 additions and 3 deletions
|
|
@ -230,10 +230,8 @@ static int davinci_gpio_probe(struct platform_device *pdev)
|
|||
chips = devm_kzalloc(dev,
|
||||
ngpio * sizeof(struct davinci_gpio_controller),
|
||||
GFP_KERNEL);
|
||||
if (!chips) {
|
||||
dev_err(dev, "Memory allocation failed\n");
|
||||
if (!chips)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
if (!res) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue