From: Alex Chiang Date: Mon, 19 Oct 2009 21:14:24 +0000 (-0600) Subject: ACPI: dock: convert sysfs attributes to an attribute_group X-Git-Tag: v2.6.33-rc1~47^2~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f46c2f25cfbb5faca7550738ac42c4d1491ddc8;p=pandora-kernel.git ACPI: dock: convert sysfs attributes to an attribute_group As suggested by Dmitry Torokhov, convert the individual sysfs attributes into an attribute group. This change eliminates quite a bit of copy/paste code in the error handling paths. Signed-off-by: Alex Chiang Reviewed-by: Dmitry Torokhov Acked-by: Shaohua Li Signed-off-by: Len Brown --- Reading git-diff-tree failed