ACPI: dock: Add a docked sysfs file to the dock driver.
authorbrandon@ifup.org <brandon@ifup.org>
Mon, 4 Dec 2006 22:49:58 +0000 (14:49 -0800)
committerLen Brown <len.brown@intel.com>
Thu, 7 Dec 2006 09:17:45 +0000 (04:17 -0500)
commitc80fdbe81a617c82e2f95233f8ddcf046ffe21b3
tree11b206160a6e96b0ddcb85bbf06feb084c28f924
parente67beb37df7a9da9d5d1e59c5358654d007a97c5
ACPI: dock: Add a docked sysfs file to the dock driver.

Add 2 sysfs files for user interface.
1) docked - 1/0 (read only) - indicates whether the software believes the
laptop is docked in a docking station.
2) undock - (write only) - writing to this file causes the software to
initiate an undock request to the firmware.

Signed-off-by: Brandon Philips <brandon@ifup.org>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dock.c