ACPI: dock: cleanup the uid patch
authorKristen Carlson Accardi <kristen.c.accardi@intel.com>
Wed, 9 May 2007 22:04:24 +0000 (15:04 -0700)
committerLen Brown <len.brown@intel.com>
Thu, 10 May 2007 07:30:37 +0000 (03:30 -0400)
commit38ff4ffc039ba5a5878f2dcbb03d87c3a1f02f1b
tree16e0654118e6950dd8cdb0b45b8306fe4a03d02e
parentde5603748af8bf7deac403e6ba92887f8d18e812
ACPI: dock: cleanup the uid patch

Make uid sysfs file error path free memory, and cleanup sysfs file
when removing driver.  Also fix CodingStyle violations.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Cc: Illya A. Volynets-Evenbakh <ilya@total-knowledge.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dock.c