projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dmaengine: pl330: Remove non-NULL check for pl330_submit_req parameters
[deliverable/linux.git]
/
drivers
/
extcon
/
extcon-max14577.c
diff --git
a/drivers/extcon/extcon-max14577.c
b/drivers/extcon/extcon-max14577.c
index d49e891b5675985d7702d77ad958117a7713e4d8..7309743d0da1b494c1c864ae25edb09259932354 100644
(file)
--- a/
drivers/extcon/extcon-max14577.c
+++ b/
drivers/extcon/extcon-max14577.c
@@
-692,10
+692,9
@@
static int max14577_muic_probe(struct platform_device *pdev)
u8 id;
info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
- if (!info) {
- dev_err(&pdev->dev, "failed to allocate memory\n");
+ if (!info)
return -ENOMEM;
- }
+
info->dev = &pdev->dev;
info->max14577 = max14577;
This page took
0.026111 seconds
and
5
git commands to generate.