mmc: sdhci: fix indentation mistakes
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 23 Sep 2020 15:37:39 +0000 (17:37 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 25 Sep 2020 11:24:02 +0000 (13:24 +0200)
Fix inconsistent indenting, reported by Smatch:

  drivers/mmc/host/sdhci-esdhc-imx.c:1380 sdhci_esdhc_imx_hwinit() warn: inconsistent indenting
  drivers/mmc/host/sdhci-sprd.c:390 sdhci_sprd_request_done() warn: inconsistent indenting

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200923153739.30327-2-krzk@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-sprd.c

index 62b3d47..fce8fa7 100644 (file)
@@ -1377,7 +1377,7 @@ static void sdhci_esdhc_imx_hwinit(struct sdhci_host *host)
                         * response, block the tuning procedure or the first command
                         * after the whole tuning procedure always can't get any response.
                         */
-                        tmp |= ESDHC_TUNING_CMD_CRC_CHECK_DISABLE;
+                       tmp |= ESDHC_TUNING_CMD_CRC_CHECK_DISABLE;
                        writel(tmp, host->ioaddr + ESDHC_TUNING_CTRL);
                } else if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING) {
                        /*
index 1efaf60..58109c5 100644 (file)
@@ -387,7 +387,7 @@ static void sdhci_sprd_request_done(struct sdhci_host *host,
        if (mmc_hsq_finalize_request(host->mmc, mrq))
                return;
 
-        mmc_request_done(host->mmc, mrq);
+       mmc_request_done(host->mmc, mrq);
 }
 
 static struct sdhci_ops sdhci_sprd_ops = {
@@ -433,7 +433,7 @@ static void sdhci_sprd_request(struct mmc_host *mmc, struct mmc_request *mrq)
 }
 
 static int sdhci_sprd_request_atomic(struct mmc_host *mmc,
-                                     struct mmc_request *mrq)
+                                    struct mmc_request *mrq)
 {
        sdhci_sprd_check_auto_cmd23(mmc, mrq);