projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: decompress_bunzip2: delete duplicated words
[linux-2.6-microblaze.git]
/
drivers
/
extcon
/
extcon-max77843.c
diff --git
a/drivers/extcon/extcon-max77843.c
b/drivers/extcon/extcon-max77843.c
index
e6b50ca
..
8e6e97e
100644
(file)
--- a/
drivers/extcon/extcon-max77843.c
+++ b/
drivers/extcon/extcon-max77843.c
@@
-845,7
+845,7
@@
static int max77843_muic_probe(struct platform_device *pdev)
max77843_extcon_cable);
if (IS_ERR(info->edev)) {
dev_err(&pdev->dev, "Failed to allocate memory for extcon\n");
max77843_extcon_cable);
if (IS_ERR(info->edev)) {
dev_err(&pdev->dev, "Failed to allocate memory for extcon\n");
- ret =
-ENODEV
;
+ ret =
PTR_ERR(info->edev)
;
goto err_muic_irq;
}
goto err_muic_irq;
}