diff options
author | Lai Jiangshan <[email protected]> | 2012-12-11 16:03:13 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-12-11 17:22:28 -0800 |
commit | fcf07d22f089856631b52a75c35ba3c33b70a1b4 (patch) | |
tree | f826fde071ac174764e12e95d903e2e0bd98734f /lib/string_helpers.c | |
parent | 81df9bff2609f07cef4690ac2ebda1611b55b05a (diff) |
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 <[email protected]>
Signed-off-by: Wen Congyang <[email protected]>
Acked-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions