sysdev: Convert node driver class attributes to be data driven
authorAndi Kleen <andi@firstfloor.org>
Tue, 5 Jan 2010 11:47:59 +0000 (12:47 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Mar 2010 01:04:47 +0000 (17:04 -0800)
commitb15f562fc2f5429f27e5dfb0b0ee5ec44f661986
tree545b4c0a9a0ea0647a61b80a9461b6f72736e7f1
parentc9be0a36f9bf392a7984473124a67a12964df11f
sysdev: Convert node driver class attributes to be data driven

Using the new attribute argument convert the node driver class
attributes to carry the node state. Then use a shared function to do
what a lot of individual functions did before.

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