]> git.itanic.dy.fi Git - linux-stable/commitdiff
mmc: Remove duplicate words in comments
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 2 Nov 2022 12:01:05 +0000 (14:01 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 7 Dec 2022 12:22:34 +0000 (13:22 +0100)
Remove duplicate words in comments found using the following commands:

pcregrep --color=always -n \
'([^a-zA-Z_])([a-zA-Z_]+)[[:space:]]+\2[^a-zA-Z_]' \
drivers/mmc/host/*.[ch] drivers/mmc/core/*.[ch] \
include/linux/mmc/*.h \
include/uapi/linux/mmc/*.h | \
grep -v 'long long'

pcregrep --color=always -n -M \
'([^a-zA-Z_])([a-zA-Z_]+)[ \t]*\n[[:space:]*]+\2[^a-zA-Z_]' \
drivers/mmc/host/*.[ch] \
drivers/mmc/core/*.[ch] \
include/linux/mmc/*.h \
include/uapi/linux/mmc/*.h

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20221102120105.5747-1-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c
drivers/mmc/core/host.c
drivers/mmc/host/sdhci-acpi.c
drivers/mmc/host/sdhci-bcm-kona.c
drivers/mmc/host/sdhci-omap.c
drivers/mmc/host/sdhci.h

index de1cc9e1ae57638e97d7f0d8bf8617e40036b794..d87b8a28f56a237bed51810363018cf1a55f78ec 100644 (file)
@@ -56,7 +56,7 @@ static const unsigned freqs[] = { 400000, 300000, 200000, 100000 };
 /*
  * Enabling software CRCs on the data blocks can be a significant (30%)
  * performance cost, and for other reasons may not always be desired.
- * So we allow it it to be disabled.
+ * So we allow it to be disabled.
  */
 bool use_spi_crc = 1;
 module_param(use_spi_crc, bool, 0);
@@ -527,7 +527,7 @@ EXPORT_SYMBOL(mmc_cqe_post_req);
  * mmc_cqe_recovery - Recover from CQE errors.
  * @host: MMC host to recover
  *
- * Recovery consists of stopping CQE, stopping eMMC, discarding the queue in
+ * Recovery consists of stopping CQE, stopping eMMC, discarding the queue
  * in eMMC, and discarding the queue in CQE. CQE must call
  * mmc_cqe_request_done() on all requests. An error is returned if the eMMC
  * fails to discard its queue.
index b89dca1f15e9c6da4203e74c18cd1a97b4d2dd67..5457c8aeeea193d70a55a5646666f62833bf7df7 100644 (file)
@@ -269,7 +269,7 @@ EXPORT_SYMBOL(mmc_of_parse_clk_phase);
  * @host: host whose properties should be parsed.
  *
  * To keep the rest of the MMC subsystem unaware of whether DT has been
- * used to to instantiate and configure this host instance or not, we
+ * used to instantiate and configure this host instance or not, we
  * parse the properties and set respective generic mmc-host flags and
  * parameters.
  */
index bddfaba091a91f94cfe9e448e86c33d3bb178c1e..8f0e639236b15c4cbb725f52196c52a00483b1d6 100644 (file)
@@ -651,7 +651,7 @@ static int sdhci_acpi_emmc_amd_probe_slot(struct platform_device *pdev,
         *       instead use the SDR104 preset register.
         *
         *    If the above issues are resolved we could remove this quirk for
-        *    firmware that that has valid presets (i.e., SDR12 <= 12 MHz).
+        *    firmware that has valid presets (i.e., SDR12 <= 12 MHz).
         */
        host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN;
 
index 61a12f2f7f03a201eeca3861ef75c776ad3cde24..6a93a54fe067ce81eb18b228eb364bb4724558a9 100644 (file)
@@ -168,7 +168,7 @@ static void sdhci_bcm_kona_init_74_clocks(struct sdhci_host *host,
        /*
         *  JEDEC and SD spec specify supplying 74 continuous clocks to
         * device after power up. With minimum bus (100KHz) that
-        * that translates to 740us
+        * translates to 740us
         */
        if (power_mode != MMC_POWER_OFF)
                udelay(740);
index 033be559a730946882a6f954d64b89f7508b8e80..8ed9256b83dac5b8e493cf3824255e85a337eb68 100644 (file)
@@ -370,7 +370,7 @@ static int sdhci_omap_execute_tuning(struct mmc_host *mmc, u32 opcode)
 
        /*
         * Stage 1: Search for a maximum pass window ignoring any
-        * any single point failures. If the tuning value ends up
+        * single point failures. If the tuning value ends up
         * near it, move away from it in stage 2 below
         */
        while (phase_delay <= MAX_PHASE_DELAY) {
index 87a3aaa0743873e9cf2a8a8e0d717d9d421f5dec..b6f31a7d61520775ed8e672980f9288109483ba9 100644 (file)
@@ -345,7 +345,7 @@ struct sdhci_adma2_64_desc {
  */
 #define SDHCI_MAX_SEGS         128
 
-/* Allow for a command request and a data request at the same time */
+/* Allow for a command request and a data request at the same time */
 #define SDHCI_MAX_MRQS         2
 
 /*