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:
e8a71aa
)
gpio: adp5588: remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 29 Apr 2014 08:32:01 +0000
(17:32 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 9 May 2014 08:54:37 +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-adp5588.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-adp5588.c
b/drivers/gpio/gpio-adp5588.c
index d974020b78bb2314dc0bf5d5e00f6048ccf561ff..ef19bc33f2bd3845cdc46b396e2f2949b36e15df 100644
(file)
--- a/
drivers/gpio/gpio-adp5588.c
+++ b/
drivers/gpio/gpio-adp5588.c
@@
-379,10
+379,8
@@
static int adp5588_gpio_probe(struct i2c_client *client,
}
dev = kzalloc(sizeof(*dev), GFP_KERNEL);
- if (dev == NULL) {
- dev_err(&client->dev, "failed to alloc memory\n");
+ if (dev == NULL)
return -ENOMEM;
- }
dev->client = client;