]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit282399b1091759dfdd0448f201588b298743fe74
tree545b4c0a9a0ea0647a61b80a9461b6f72736e7f1
parentc2c5ec46bfe1b6808f557c83b949ab818e008c79
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