projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/usb/chipidea/core.c: adjust duplicate test
[linux-2.6-block.git]
/
drivers
/
usb
/
chipidea
/
core.c
diff --git
a/drivers/usb/chipidea/core.c
b/drivers/usb/chipidea/core.c
index aebf695a9344563e4c4bfc561ec44d3bf422d0d3..57cae1f897b21b7b4797e2ea54f7cfe51042618b 100644
(file)
--- a/
drivers/usb/chipidea/core.c
+++ b/
drivers/usb/chipidea/core.c
@@
-411,7
+411,7
@@
static int ci_hdrc_probe(struct platform_device *pdev)
}
base = devm_request_and_ioremap(dev, res);
- if (!
res
) {
+ if (!
base
) {
dev_err(dev, "can't request and ioremap resource\n");
return -ENOMEM;
}