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:
c0a3536
)
regulator: max8997: Remove redundant error message
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 20 Feb 2014 08:53:09 +0000
(14:23 +0530)
committer
Mark Brown
<broonie@linaro.org>
Thu, 20 Feb 2014 11:24:59 +0000
(20:24 +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/max8997.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/max8997.c
b/drivers/regulator/max8997.c
index 10108f2941e3652f27dd96fec1cb4ddc357dc0f9..f657d8db9c0c8b68720146d3fb4323e12ec009d2 100644
(file)
--- a/
drivers/regulator/max8997.c
+++ b/
drivers/regulator/max8997.c
@@
-937,7
+937,6
@@
static int max8997_pmic_dt_parse_pdata(struct platform_device *pdev,
pdata->num_regulators, GFP_KERNEL);
if (!rdata) {
of_node_put(regulators_np);
- dev_err(&pdev->dev, "could not allocate memory for regulator data\n");
return -ENOMEM;
}