env: clean cmd_nvedit.c checkpatch and code style
authorIgor Grinberg <grinberg@compulab.co.il>
Mon, 7 Nov 2011 01:13:59 +0000 (01:13 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 22 Nov 2011 07:39:25 +0000 (08:39 +0100)
commitd09b1787a4b1396e296fb69e7f1ab1d6345441d9
treee11e98b46fddab3493166de6a231b0fa794ce7d0
parent994bc671cf8fd3f6d41bb680da738f814f4a9f38
env: clean cmd_nvedit.c checkpatch and code style

Cleanup the cmd_nvedit.c checkpatch warnings, errors and coding style.
There are 10 wanrings left about the simple_strtoul() function:
 WARNING: simple_strtoul is obsolete, use kstrtoul instead
 #359: FILE: cmd_nvedit.c:359:
 + load_addr = simple_strtoul(argv[2], NULL, 16);

 ...

 total: 0 errors, 10 warnings, 1043 lines checked

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
common/cmd_nvedit.c
include/command.h
include/environment.h