Explorar o código

MMC: Trivial comment cleanup

Make the variable name in the comments match the actual name
of the variable.

Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Deepak Saxena %!s(int64=17) %!d(string=hai) anos
pai
achega
8769392b19
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      drivers/mmc/core/mmc.c
  2. 1 1
      drivers/mmc/core/sd.c

+ 1 - 1
drivers/mmc/core/mmc.c

@@ -288,7 +288,7 @@ static struct device_type mmc_type = {
 /*
  * Handle the detection and initialisation of a card.
  *
- * In the case of a resume, "curcard" will contain the card
+ * In the case of a resume, "oldcard" will contain the card
  * we're trying to reinitialise.
  */
 static int mmc_init_card(struct mmc_host *host, u32 ocr,

+ 1 - 1
drivers/mmc/core/sd.c

@@ -326,7 +326,7 @@ static struct device_type sd_type = {
 /*
  * Handle the detection and initialisation of a card.
  *
- * In the case of a resume, "curcard" will contain the card
+ * In the case of a resume, "oldcard" will contain the card
  * we're trying to reinitialise.
  */
 static int mmc_sd_init_card(struct mmc_host *host, u32 ocr,