From: Lai Jiangshan Date: Wed, 12 Dec 2012 00:03:13 +0000 (-0800) Subject: drivers/base/node.c: cleanup node_state_attr[] X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~81^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf07d22f089856631b52a75c35ba3c33b70a1b4;p=pandora-kernel.git drivers/base/node.c: cleanup node_state_attr[] use [index] = init_value use N_xxxxx instead of hardcode. Make it more readability and easier to add new state. Signed-off-by: Lai Jiangshan Signed-off-by: Wen Congyang Acked-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed