]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: mmc: Remove duplicate newlines
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 20 Jul 2024 12:40:43 +0000 (14:40 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 22 Jul 2024 16:53:05 +0000 (10:53 -0600)
Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
12 files changed:
drivers/mmc/aspeed_sdhci.c
drivers/mmc/davinci_mmc.c
drivers/mmc/dw_mmc.c
drivers/mmc/fsl_esdhc.c
drivers/mmc/fsl_esdhc_spl.c
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc.c
drivers/mmc/msm_sdhci.c
drivers/mmc/mtk-sd.c
drivers/mmc/piton_mmc.c
drivers/mmc/rpmb.c
drivers/mmc/tegra_mmc.c

index 87a6f66ebb370b5e3b9caaf9d9be8a37328f885e..b1752d2f8811bb5b18a16c0b0b281461f57a15c4 100644 (file)
@@ -93,7 +93,6 @@ U_BOOT_DRIVER(aspeed_sdhci_drv) = {
        .plat_auto      = sizeof(struct aspeed_sdhci_plat),
 };
 
-
 static int aspeed_sdc_probe(struct udevice *parent)
 {
        struct clk clk;
index 5107fcd836259285da36f93dbecff24d9b7ba888..e055026847fe1a686967482a3bdc9772db404e8e 100644 (file)
@@ -473,7 +473,6 @@ int davinci_mmc_init(struct bd_info *bis, struct davinci_mmc *host)
 }
 #else
 
-
 static int davinci_mmc_probe(struct udevice *dev)
 {
        struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev);
index e6107c770fe3069be59112f41e41cdd0b0066cd3..f4ecd7422cef6128e852eb1c1ed061a402ab4c3e 100644 (file)
@@ -55,7 +55,6 @@ static void dwmci_prepare_data(struct dwmci_host *host,
        unsigned int i = 0, flags, cnt, blk_cnt;
        ulong data_start, data_end;
 
-
        blk_cnt = data->blocks;
 
        dwmci_wait_reset(host, DWMCI_CTRL_FIFO_RESET);
@@ -357,7 +356,6 @@ static int dwmci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
                return -EIO;
        }
 
-
        if (cmd->resp_type & MMC_RSP_PRESENT) {
                if (cmd->resp_type & MMC_RSP_136) {
                        cmd->response[0] = dwmci_readl(host, DWMCI_RESP3);
index 0c66980b6218bc8d02df32989fb5abbaa9b0b205..683a7931c98268be0b5eb040c49907e357ab8488 100644 (file)
@@ -850,7 +850,6 @@ __weak int esdhc_status_fixup(void *blob, const char *compat)
        return 0;
 }
 
-
 #if CONFIG_IS_ENABLED(DM_MMC)
 static int fsl_esdhc_get_cd(struct udevice *dev);
 static void esdhc_disable_for_no_card(void *blob)
index 1a11258be4defa6d1ea98131166062b4fcb4bceb..3dd106bed4bf284c7606b5c96aca015fab0e8b49 100644 (file)
@@ -25,7 +25,6 @@ extern uchar mmc_u_boot_offs[];
 #define MBRDBR_BOOT_SIG_55     0x1fe
 #define MBRDBR_BOOT_SIG_AA     0x1ff
 
-
 void mmc_spl_load_image(uint32_t offs, unsigned int size, void *vdst)
 {
        uint blk_start, blk_cnt, err;
index da6a39b7d99074e697be579b8cfe76f29d8781ae..83cdc9fd66d22ae7a7bddf8f89fa595a25d805cd 100644 (file)
@@ -538,7 +538,6 @@ U_BOOT_DRIVER(mmc_blk) = {
 };
 #endif /* CONFIG_BLK */
 
-
 UCLASS_DRIVER(mmc) = {
        .id             = UCLASS_MMC,
        .name           = "mmc",
index b18dc331f785a08d9080eef3325c52aeab6e0f4e..cf8277cbed863ef3882f7abf10aa6bd66662074f 100644 (file)
@@ -785,7 +785,6 @@ static int mmc_complete_op_cond(struct mmc *mmc)
        return 0;
 }
 
-
 int mmc_send_ext_csd(struct mmc *mmc, u8 *ext_csd)
 {
        struct mmc_cmd cmd;
index 4ce0de6c47d869f7b4f409b6e27b39903111784e..f5e9930c7997afb50ec7c193b655b33bedea36b7 100644 (file)
@@ -114,7 +114,6 @@ static int msm_sdc_mci_init(struct msm_sdhc *prv)
        writel(readl(prv->base + SDCC_MCI_POWER) | SDCC_MCI_POWER_SW_RST,
               prv->base + SDCC_MCI_POWER);
 
-
        /* Wait for reset to be written to register */
        if (wait_for_bit_le32(prv->base + SDCC_MCI_STATUS2,
                              SDCC_MCI_STATUS2_MCI_ACT, false, 10, false)) {
index ebd72178b595e46d1a86661bd593d6c03ead8250..d676cf9e3140aa62b3fe4b81720c8e9d80289fd2 100644 (file)
@@ -1631,7 +1631,6 @@ static void msdc_init_hw(struct msdc_host *host)
        clrsetbits_le32(&host->base->sdc_cfg, SDC_CFG_DTOC_M,
                        3 << SDC_CFG_DTOC_S);
 
-
        host->def_tune_para.iocon = readl(&host->base->msdc_iocon);
        host->def_tune_para.pad_tune = readl(&host->base->pad_tune);
 }
index fed1f8416088ba8b1519d222b23c26a8717b2e1b..5ef2781eedfed0bdd4b7675c35a55630b1dfb1e8 100644 (file)
@@ -22,7 +22,6 @@
 #include <log.h>
 #include <mmc.h>
 
-
 #define PITON_MMC_DUMMY_F_MAX 20000000
 #define PITON_MMC_DUMMY_F_MIN 10000000
 #define PITON_MMC_DUMMY_CAPACITY SZ_4G << 3
index 0658ce22cf132c2dcca506631374797f66b30dd4..fa3ac2d9e37d43cd7bd1ca28df3563603bcad13f 100644 (file)
@@ -60,7 +60,6 @@ static const char * const rpmb_err_msg[] = {
        "Authentication key not yet programmed",
 };
 
-
 /* Structure of RPMB data frame. */
 struct s_rpmb {
        unsigned char stuff[RPMB_SZ_STUFF];
index 5ed7f01d3f361daa297280a6e468e49aa019ef1b..355991beb0fd4d9b0f99751a42a236485abcdaac 100644 (file)
@@ -80,7 +80,6 @@ static void tegra_mmc_prepare_data(struct tegra_mmc_priv *priv,
 {
        unsigned char ctrl;
 
-
        debug("buf: %p (%p), data->blocks: %u, data->blocksize: %u\n",
                bbstate->bounce_buffer, bbstate->user_buffer, data->blocks,
                data->blocksize);