projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5d96e
)
gpio: adp5520: remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 29 Apr 2014 08:31:31 +0000
(17:31 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 9 May 2014 08:54:33 +0000
(10:54 +0200)
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>
drivers/gpio/gpio-adp5520.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-adp5520.c
b/drivers/gpio/gpio-adp5520.c
index 613265944e2e3966f57aa21447cd2093422d9ef5..f1ade8fa3218c346ddbe1867ba2242b146a94ec8 100644
(file)
--- a/
drivers/gpio/gpio-adp5520.c
+++ b/
drivers/gpio/gpio-adp5520.c
@@
-106,10
+106,8
@@
static int adp5520_gpio_probe(struct platform_device *pdev)
}
dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL);
- if (dev == NULL) {
- dev_err(&pdev->dev, "failed to alloc memory\n");
+ if (dev == NULL)
return -ENOMEM;
- }
dev->master = pdev->dev.parent;