diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-05-01 21:33:53 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-05-05 21:51:50 +0200 |
commit | efa6902501ffc87d69bfb10b8a09b7d6ee222d77 (patch) | |
tree | 1fc2840dea09457e84c8b593e2ad7ff9f77ce501 /drivers/block/cciss_cmd.h | |
parent | 23e0fc5ae64925e0ff1b6221b83dff1b217545df (diff) |
PM / Domains: Make device removal more straightforward
The removal of a device from a PM domain doesn't have to browse
the domain's device list, because it can check directly if the
device belongs to the given domain. Moreover, it should clear
the domain_data pointer in dev->power.subsys_data, because
dev_pm_put_subsys_data(dev) may not remove dev->power.subsys_data
and the stale domain data pointer may cause problems to happen.
Rework pm_genpd_remove_device() taking the above observations into
account.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/block/cciss_cmd.h')
0 files changed, 0 insertions, 0 deletions