lkml.org 
[lkml]   [2009]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH v4 0/6] ACPI: dock: code hygiene
From
Date
This is v4 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

v3 -> v4:
- defensively code in case sysfs_create_group() fails and
sysfs_remove_group() can't handle removing a non-existent group;
suggested by Dmitry Torokhov

v2 -> v3:
- now using an attribute_group, as suggested by Dmitry Torokhov

v1 -> v2:
- changed how we add platform device data, based on Shaohua Li's
review
---

Alex Chiang (6):
ACPI: dock: convert sysfs attributes to an attribute_group
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 | 266 ++++++++++++++++++---------------------------------
1 files changed, 93 insertions(+), 173 deletions(-)



\
 
 \ /
  Last update: 2009-10-19 23:23    [W:0.057 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site