]> git.karo-electronics.de Git - mv-sheeva.git/commit
PM: Replace the device power.status field with a bit field
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 15 Dec 2010 23:51:21 +0000 (00:51 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 24 Dec 2010 14:02:44 +0000 (15:02 +0100)
commitb8c76f6aed0ab7df73a6410f3f82de2c831bb144
tree1194ded4c23f62ab253a2e0712cfdd436aa2365b
parent5b219a51fdceaf76e0e18da57c7efb9e5586e567
PM: Replace the device power.status field with a bit field

The device power.status field is too complicated for its purpose
(storing the information about whether or not the device is in the
"active" state from the PM core's point of view), so replace it with
a bit field and modify all of its users accordingly.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/main.c
drivers/usb/core/driver.c
include/linux/device.h
include/linux/pm.h