projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef288f9
)
power/reset: xgene: Drop devm_kfree
author
Guenter Roeck
<linux@roeck-us.net>
Tue, 30 Sep 2014 17:48:29 +0000
(10:48 -0700)
committer
Sebastian Reichel
<sre@kernel.org>
Mon, 17 Nov 2014 02:07:09 +0000
(
03:07
+0100)
Calling devm_kfree is unnecessary. Drop it.
Cc: Loc Ho <lho@apm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/power/reset/xgene-reboot.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/reset/xgene-reboot.c
b/drivers/power/reset/xgene-reboot.c
index 6ca4bf99bbddf3b9494d928514495e6a78b60f2b..c49a3fee65e7a5ea72a3ac69b91288ac0ed16ede 100644
(file)
--- a/
drivers/power/reset/xgene-reboot.c
+++ b/
drivers/power/reset/xgene-reboot.c
@@
-66,7
+66,6
@@
static int xgene_reboot_probe(struct platform_device *pdev)
ctx->csr = of_iomap(pdev->dev.of_node, 0);
if (!ctx->csr) {
- devm_kfree(&pdev->dev, ctx);
dev_err(&pdev->dev, "can not map resource\n");
return -ENODEV;
}