diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-29 17:46:22 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 10:55:35 +0200 |
commit | 50908d61ea483e0670768a712c166c3e4b2a30a3 (patch) | |
tree | ed437ba89546eb87525c005d0cd0bc981874b99c /drivers/gpio | |
parent | 0661175a2ae7f83a3d8963e36ca4cbffc6a686d0 (diff) | |
download | op-kernel-dev-50908d61ea483e0670768a712c166c3e4b2a30a3.zip op-kernel-dev-50908d61ea483e0670768a712c166c3e4b2a30a3.tar.gz |
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 <jg1.han@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-zevio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 6270f75..4c173ad 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c @@ -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; |