aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-29 04:46:22 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 04:55:35 -0400
commit50908d61ea483e0670768a712c166c3e4b2a30a3 (patch)
treeed437ba89546eb87525c005d0cd0bc981874b99c /drivers/gpio
parent0661175a2ae7f83a3d8963e36ca4cbffc6a686d0 (diff)
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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c
index 6270f755d0ed..4c173ad4c23c 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)
178 int status, i; 178 int status, i;
179 179
180 controller = devm_kzalloc(&pdev->dev, sizeof(*controller), GFP_KERNEL); 180 controller = devm_kzalloc(&pdev->dev, sizeof(*controller), GFP_KERNEL);
181 if (!controller) { 181 if (!controller)
182 dev_err(&pdev->dev, "not enough free memory\n");
183 return -ENOMEM; 182 return -ENOMEM;
184 }
185 183
186 /* Copy our reference */ 184 /* Copy our reference */
187 controller->chip.gc = zevio_gpio_chip; 185 controller->chip.gc = zevio_gpio_chip;