commit | 5f46c2f25cfbb5faca7550738ac42c4d1491ddc8 | [log] [tgz] |
---|---|---|
author | Alex Chiang <achiang@hp.com> | Mon Oct 19 15:14:24 2009 -0600 |
committer | Len Brown <len.brown@intel.com> | Tue Nov 03 15:57:13 2009 -0500 |
tree | bace354f58682fe00a60625c0311bfa528cbbb4d | |
parent | 012abeea669ea49636cf952d13298bb68654146a [diff] |
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 <achiang@hp.com> Reviewed-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>