commit | 7e12715ecc47a8a59154afe2746e48998225bb69 | [log] [tgz] |
---|---|---|
author | Jesse Barnes <jbarnes@virtuousgeek.org> | Thu Sep 10 15:28:02 2009 -0700 |
committer | Eric Anholt <eric@anholt.net> | Thu Sep 10 16:09:11 2009 -0700 |
tree | 308e53b58027772bd114585f57c4180eb89239a7 | |
parent | af729a26ccc3ff9ad834a5e96f455aab20f176cd [diff] |
ACPI button: provide lid status functions Some drivers need to know when a lid event occurs and get the current status. This can be useful for when a platform firmware clobbers some hardware state at lid time, and a driver needs to restore things when the lid is opened again. Acked-by: Matthew Garrett <mjg59@srcf.ucam.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Eric Anholt <eric@anholt.net>