> power_state is scheduled for removal, and it is used only write-only > by USB. Remove it.
Unfortunately some of the things you changed turn out not to be write-only. (You also missed a usage of power.power_state in a comment!) I'll post a more complete patch soon.