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
opp: Drop unnecessary check from dev_pm_opp_attach_genpd()
[linux-2.6-microblaze.git]
/
drivers
/
opp
/
core.c
diff --git
a/drivers/opp/core.c
b/drivers/opp/core.c
index
8c69a76
..
fa97a87
100644
(file)
--- a/
drivers/opp/core.c
+++ b/
drivers/opp/core.c
@@
-2019,12
+2019,6
@@
struct opp_table *dev_pm_opp_attach_genpd(struct device *dev,
goto err;
}
- if (opp_table->genpd_virt_devs[index]) {
- dev_err(dev, "Genpd virtual device already set %s\n",
- *name);
- goto err;
- }
-
virt_dev = dev_pm_domain_attach_by_name(dev, *name);
if (IS_ERR(virt_dev)) {
ret = PTR_ERR(virt_dev);