sysdev: Use sysdev_class attribute arrays in node driver
authorAndi Kleen <andi@firstfloor.org>
Tue, 5 Jan 2010 11:48:04 +0000 (12:48 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Mar 2010 01:04:47 +0000 (17:04 -0800)
commit3701cde6e35245e26f63252f46c62e8a790fa996
treef4fde55198c52db97f46286a41275d66c081e29c
parente1a7e29a266ba3313a873d302b352521403bd155
sysdev: Use sysdev_class attribute arrays in node driver

Convert the node driver to sysdev_class attribute arrays. This
greatly cleans up the code and remove a lot of code.

Saves ~150 bytes of code on x86-64.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/node.c