tc1100-wmi - switch to using attribute group
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 4 Dec 2009 08:36:09 +0000 (00:36 -0800)
committerLen Brown <len.brown@intel.com>
Wed, 16 Dec 2009 17:52:49 +0000 (12:52 -0500)
commit0ad3dc3af8ba028368263b190a7a270f8d5cf5ae
tree162039f0cd9f5f79c04731f2a4e03781ef8852a9
parent22763c5cf3690a681551162c15d34d935308c8d7
tc1100-wmi - switch to using attribute group

Sysfs attribute group takes care of proper creation of a set of attributes
and implements proper error unwinding so the driver does not have to do it.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/tc1100-wmi.c