cmd: Rename CMD_MISC to CMD_SLEEP
The "cmd/Kconfig" has a TODO description for CMD_MISC that it should
really be named as CMD_SLEEP. Change it in the whole source tree.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
diff --git a/cmd/Kconfig b/cmd/Kconfig
index a3166e4..cc7e931 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1708,8 +1708,7 @@
help
Print bytes from the hardware random number generator.
-# TODO: rename to CMD_SLEEP
-config CMD_MISC
+config CMD_SLEEP
bool "sleep"
default y
help
diff --git a/cmd/Makefile b/cmd/Makefile
index 19a8916..70fe52b 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -95,7 +95,7 @@
obj-$(CONFIG_CMD_MFSL) += mfsl.o
obj-$(CONFIG_CMD_MII) += mii.o
obj-$(CONFIG_CMD_MDIO) += mdio.o
-obj-$(CONFIG_CMD_MISC) += misc.o
+obj-$(CONFIG_CMD_SLEEP) += sleep.o
obj-$(CONFIG_CMD_MMC) += mmc.o
obj-$(CONFIG_MP) += mp.o
obj-$(CONFIG_CMD_MTD) += mtd.o
diff --git a/cmd/misc.c b/cmd/sleep.c
similarity index 98%
rename from cmd/misc.c
rename to cmd/sleep.c
index 20ab943..86986f0 100644
--- a/cmd/misc.c
+++ b/cmd/sleep.c
@@ -4,9 +4,6 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
-/*
- * Misc functions
- */
#include <common.h>
#include <command.h>
#include <console.h>