mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 02:54:05 +00:00
This is based on a similar patch from Alexandre Demers. While fixing up some warnings with that patch I saw some additional cleanups that could be applied. This patch simplifies the logic for patching the power state. Signed-off-by: Alex Deucher <[email protected]> Cc: Alexandre Demers <[email protected]>