diff options
author | Robin Gong <b38343@freescale.com> | 2015-02-09 16:54:52 +0800 |
---|---|---|
committer | Robin Gong <b38343@freescale.com> | 2015-02-11 13:07:32 +0800 |
commit | 9d2fe13e77194c7163bd3954cc6734aa21fc66a9 (patch) | |
tree | ee30e48eda3a1f0faa668c77350167b47e0c1714 | |
parent | 2685fa04352ee312a76c6c5a4c6d2933c28003ad (diff) |
MLK-10238-2: Revert "drivercore: Bind/unbind power domain on probe/remove"
This reverts commit ef2c90dea437f8955b7dc089ff1579c2aa06a6b7.
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit e2c50506fee918f95425babbccc7ecf28d3d2f87)
-rw-r--r-- | drivers/base/dd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 4e812a0c445d..8a8d611f2021 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -23,7 +23,6 @@ #include <linux/kthread.h> #include <linux/wait.h> #include <linux/async.h> -#include <linux/pm_domain.h> #include <linux/pm_runtime.h> #include <linux/pinctrl/devinfo.h> @@ -288,11 +287,6 @@ static int really_probe(struct device *dev, struct device_driver *drv) dev->driver = drv; - /* If using genpd, bind power domain now before probing */ - ret = genpd_bind_domain(dev); - if (ret) - goto probe_failed; - /* If using pinctrl, bind pins now before probing */ ret = pinctrl_bind_pins(dev); if (ret) @@ -323,7 +317,6 @@ static int really_probe(struct device *dev, struct device_driver *drv) probe_failed: devres_release_all(dev); driver_sysfs_remove(dev); - genpd_unbind_domain(dev); dev->driver = NULL; dev_set_drvdata(dev, NULL); @@ -537,7 +530,7 @@ static void __device_release_driver(struct device *dev) blocking_notifier_call_chain(&dev->bus->p->bus_notifier, BUS_NOTIFY_UNBOUND_DRIVER, dev); - genpd_unbind_domain(dev); + } } |