This is v2 of a modest attempt to clean up the dock driver. As before, compile tested only, since I don't have any machines that provide _DCK. Thanks. /ac v1 -> v2: - changed how we add platform device data, based on Shaohua Li's review --- Alex Chiang (6): ACPI: dock: clean up error handling paths in dock_add() ACPI: dock: combine add|alloc_dock_dependent_device ACPI: dock: remove global 'dock_device_name' ACPI: dock: dock_add - hoist up platform_device_register_simple() ACPI: dock: add struct dock_station * directly to platform device data ACPI: dock: minor whitespace and style cleanups drivers/acpi/dock.c | 272 ++++++++++++++++++++------------------------------- 1 files changed, 104 insertions(+), 168 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html