Skip to content

Commit

Permalink
Merge branch 'pm-runtime'
Browse files Browse the repository at this point in the history
* pm-runtime:
  PM / runtime: Use pm_runtime_put_sync() in __device_release_driver()
  • Loading branch information
Rafael J. Wysocki committed Nov 7, 2013
2 parents feba070 + baab52d commit 679d998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ static void __device_release_driver(struct device *dev)
BUS_NOTIFY_UNBIND_DRIVER,
dev);

pm_runtime_put(dev);
pm_runtime_put_sync(dev);

if (dev->bus && dev->bus->remove)
dev->bus->remove(dev);
Expand Down

0 comments on commit 679d998

Please sign in to comment.