ACPI: dock: add uevent to indicate change in device status
authorKristen Carlson Accardi <kristen.c.accardi@intel.com>
Mon, 11 Dec 2006 20:05:08 +0000 (12:05 -0800)
committerLen Brown <len.brown@intel.com>
Thu, 14 Dec 2006 22:16:06 +0000 (17:16 -0500)
commit8ea86e0ba7c9d16ae0f35cb0c4165194fa573f7a
treeb88c02a69a089268524a02b99655bc12382d6afa
parent2548c06b72396e28abdb5dd572ab589c3c22f4b9
ACPI: dock: add uevent to indicate change in device status

Send a uevent to indicate a device change whenever we dock or
undock, so that userspace may now check the dock status via sysfs.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Holger Macht <hmacht@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dock.c