Lai Jiangshan fcf07d22f0 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 <laijs@cn.fujitsu.com>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-11 17:22:28 -08:00
..
2012-11-22 09:14:54 -10:00
2012-10-15 14:45:51 -04:00
2012-11-23 14:32:55 +01:00
2012-12-03 10:53:25 -08:00
2012-12-11 11:30:41 -08:00
2012-09-26 22:28:21 -04:00
2012-12-02 16:24:31 -08:00
2012-10-10 20:15:24 +09:00
2012-10-09 16:11:46 +09:00
2012-10-10 20:15:24 +09:00
2012-11-16 14:33:04 -08:00
2012-11-22 09:14:54 -10:00
2012-11-23 12:01:02 -10:00
2012-10-01 12:09:59 -07:00
2012-11-20 18:52:01 -10:00
2012-10-01 18:46:13 -07:00
2012-10-16 18:07:12 -07:00