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
mfd: mt6397: Do not call irq_domain_remove if PMIC unsupported
[linux-2.6-microblaze.git]
/
drivers
/
mfd
/
mt6397-core.c
diff --git
a/drivers/mfd/mt6397-core.c
b/drivers/mfd/mt6397-core.c
index
77b64bd
..
ab24e17
100644
(file)
--- a/
drivers/mfd/mt6397-core.c
+++ b/
drivers/mfd/mt6397-core.c
@@
-329,8
+329,7
@@
static int mt6397_probe(struct platform_device *pdev)
default:
dev_err(&pdev->dev, "unsupported chip: %d\n", id);
- ret = -ENODEV;
- break;
+ return -ENODEV;
}
if (ret) {