public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] ACPI: dock: code hygiene
@ 2009-10-19 21:14 Alex Chiang
  2009-10-19 21:14 ` [PATCH v4 1/6] ACPI: dock: convert sysfs attributes to an attribute_group Alex Chiang
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Alex Chiang @ 2009-10-19 21:14 UTC (permalink / raw)
  To: =shaohua.li, lenb; +Cc: linux-acpi, linux-kernel

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(-)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-11-03 20:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-19 21:14 [PATCH v4 0/6] ACPI: dock: code hygiene Alex Chiang
2009-10-19 21:14 ` [PATCH v4 1/6] ACPI: dock: convert sysfs attributes to an attribute_group Alex Chiang
2009-10-20  1:38   ` Dmitry Torokhov
2009-10-20  2:57     ` Alex Chiang
2009-10-20  3:26       ` Dmitry Torokhov
2009-10-19 21:14 ` [PATCH v4 2/6] ACPI: dock: combine add|alloc_dock_dependent_device Alex Chiang
2009-10-19 21:14 ` [PATCH v4 3/6] ACPI: dock: remove global 'dock_device_name' Alex Chiang
2009-10-19 21:14 ` [PATCH v4 4/6] ACPI: dock: dock_add - hoist up platform_device_register_simple() Alex Chiang
2009-10-19 21:14 ` [PATCH v4 5/6] ACPI: dock: add struct dock_station * directly to platform device data Alex Chiang
2009-10-19 21:14 ` [PATCH v4 6/6] ACPI: dock: minor whitespace and style cleanups Alex Chiang
2009-10-29  0:07 ` [PATCH v4 0/6] ACPI: dock: code hygiene Alex Chiang
2009-10-29  1:00   ` Shaohua Li
2009-11-03 20:55     ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox