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:
da0ee72
)
regulator: max77686: Remove redundant error message
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 20 Feb 2014 08:53:06 +0000
(14:23 +0530)
committer
Mark Brown
<broonie@linaro.org>
Thu, 20 Feb 2014 11:21:47 +0000
(20:21 +0900)
kzalloc prints its own OOM message upon failure.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max77686.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/max77686.c
b/drivers/regulator/max77686.c
index b411af00065d70d024cc067ac4c336ab4d6c865f..de020adf0568431a0c60a0202b9ab032335ff8e1 100644
(file)
--- a/
drivers/regulator/max77686.c
+++ b/
drivers/regulator/max77686.c
@@
-410,8
+410,6
@@
static int max77686_pmic_dt_parse_pdata(struct platform_device *pdev,
rdata = devm_kzalloc(&pdev->dev, sizeof(*rdata) *
pdata->num_regulators, GFP_KERNEL);
if (!rdata) {
- dev_err(&pdev->dev,
- "could not allocate memory for regulator data\n");
of_node_put(regulators_np);
return -ENOMEM;
}