]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
treewide: Remove the unnecessary space before semicolon
authorBin Meng <bmeng@tinylab.org>
Wed, 26 Oct 2022 04:40:07 +0000 (12:40 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 2 Nov 2022 17:58:17 +0000 (13:58 -0400)
%s/return ;/return;

Signed-off-by: Bin Meng <bmeng@tinylab.org>
13 files changed:
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc85xx/liodn.c
arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c
arch/powerpc/cpu/mpc85xx/portals.c
arch/powerpc/cpu/mpc85xx/tlb.c
arch/powerpc/cpu/mpc8xxx/fdt.c
arch/powerpc/cpu/mpc8xxx/law.c
arch/powerpc/lib/bootm.c
board/ti/evm/evm.c
drivers/ddr/fsl/util.c
drivers/net/fm/init.c

index 92a7e608ceb81ce5a5d3ebaf9fe256bef82a6250..90f024d0a7f1d6704d584df23f77fec83216b2c0 100644 (file)
@@ -446,7 +446,7 @@ ulong cpu_init_f(void)
 /* Implement a dummy function for those platforms w/o SERDES */
 static void __fsl_serdes__init(void)
 {
-       return ;
+       return;
 }
 __attribute__((weak, alias("__fsl_serdes__init"))) void fsl_serdes_init(void);
 
index 8d629d3b9608cadb7a1855a380da7b65318997cf..e6d3058dd5b63cb711ac89439c128d725d65a748 100644 (file)
@@ -76,7 +76,7 @@ void setup_ifc(void)
        ifc_out32(&(ifc_regs.gregs->csor_cs[0].csor), CONFIG_SYS_CSOR0);
        ifc_out32(&(ifc_regs.gregs->amask_cs[0].amask), CONFIG_SYS_AMASK0);
 
-       return ;
+       return;
 }
 #endif
 
index c8ad6a1b01ce6d8b43f07d930ccd14e5e772f114..61d8aa7f4c1b1e51a08eb9b435cbc28d2d0380d5 100644 (file)
@@ -271,13 +271,13 @@ static inline void ft_fixup_l2cache(void *blob)
 
        if (ph == NULL) {
                debug("no next-level-cache property\n");
-               return ;
+               return;
        }
 
        off = fdt_node_offset_by_phandle(blob, *ph);
        if (off < 0) {
                printf("%s: %s\n", __func__, fdt_strerror(off));
-               return ;
+               return;
        }
 
        ft_fixup_l2cache_compatible(blob, off);
@@ -373,7 +373,7 @@ next:
                l3_off = fdt_node_offset_by_phandle(blob, l3_off);
                if (l3_off < 0) {
                        printf("%s: %s\n", __func__, fdt_strerror(off));
-                       return ;
+                       return;
                }
                ft_fixup_l3cache(blob, l3_off);
        }
index a08400249492b1c85e7fae9537066c2b1d428a52..34974c92bdbd17f7fdfb1f735149958ef8c8c6dd 100644 (file)
@@ -111,7 +111,7 @@ static void setup_fman_liodn_base(enum fsl_dpaa_dev dev,
 #endif
        default:
                printf("Error: Invalid device type to %s\n", __FUNCTION__);
-               return ;
+               return;
        }
 
        base = (liodn_bases[dev].id[0] << 16) | liodn_bases[dev].id[0];
@@ -232,7 +232,7 @@ static void fdt_fixup_srio_liodn(void *blob, struct srio_liodn_id_table *tbl)
        /* search for srio node, if doesn't exist just return - nothing todo */
        srio_off = fdt_node_offset_by_compatible(blob, -1, "fsl,srio");
        if (srio_off < 0)
-               return ;
+               return;
 
        for (i = 0; i < srio_liodn_tbl_sz; i++) {
                int off, portid = tbl[i].portid;
index 2a5c3e32002ac5b6cf7f5ae62bdf1b0e0819f336..38f30afdfc4ddbd8260d4452364d228970045c9e 100644 (file)
@@ -45,7 +45,7 @@ void fsl_serdes_init(void)
 
        if (srds1_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) {
                printf("Invalid PORDEVSR[IO_SEL] = %d\n", srds1_cfg);
-               return ;
+               return;
        }
 
        for (lane = 0; lane < SRDS1_MAX_LANES; lane++) {
index 52e2124fb9763efeb89969f11d1f52aabbb93456..6b4cbddcdfe15a403307c720c5c914195673d176 100644 (file)
@@ -21,7 +21,7 @@ void fdt_portal(void *blob, const char *compat, const char *container,
 
        off = fdt_node_offset_by_compatible(blob, -1, compat);
        if (off < 0)
-               return ;
+               return;
 
        off = fdt_parent_offset(blob, off);
        /* if non-zero assume we have a container */
@@ -35,7 +35,7 @@ void fdt_portal(void *blob, const char *compat, const char *container,
                range = fdt_getprop_w(blob, off, "ranges", &len);
                if (range == NULL) {
                        printf("ERROR: container for %s has no ranges", compat);
-                       return ;
+                       return;
                }
 
                range[0] = 0;
@@ -61,13 +61,13 @@ void fdt_portal(void *blob, const char *compat, const char *container,
                if (container && (memcmp(container, name, len))) {
                        printf("WARNING: container names didn't match %s %s\n",
                                container, name);
-                       return ;
+                       return;
                }
 
                memcpy(&buf, name, len);
                len += sprintf(&buf[len], "@%llx", addr);
                fdt_set_name(blob, off, buf);
-               return ;
+               return;
        }
 
        printf("ERROR: %s isn't in a container.  Not supported\n", compat);
index e39fe14382d67750f3bc9c58465e73fbbefc81bd..81e60722f9fc4a8afcb6b9d2cc7f4889a15b944b 100644 (file)
@@ -41,7 +41,7 @@ __weak void init_tlbs(void)
                          tlb_table[i].mas7);
        }
 
-       return ;
+       return;
 }
 
 #if !defined(CONFIG_NAND_SPL) && \
index 871554a7f481b62cd6d9883bf77ae11cdcb13f0e..300429024878139daf7b3b39418025ffc764c98e 100644 (file)
@@ -128,7 +128,7 @@ void ft_srio_setup(void *blob)
        /* search for srio node, if doesn't exist just return - nothing todo */
        srio_off = fdt_node_offset_by_compatible(blob, -1, "fsl,srio");
        if (srio_off < 0)
-               return ;
+               return;
 
 #ifdef CONFIG_SRIO1
        if (is_serdes_configured(SRIO1))
index 198b5b10a52c3e6e7057c47b669df016e4ddfc4a..24bbe3b45f7e1a8fa2dbd223190aa2004a7fc072 100644 (file)
@@ -353,5 +353,5 @@ void init_laws(void)
        }
 #endif
 
-       return ;
+       return;
 }
index 512787854c81fd9e9b8300cb5f49ab45fc1b5873..8ae8d8a3e7d6e43d3598d1ea8ea1558b02ced54c 100644 (file)
@@ -113,7 +113,7 @@ static void boot_jump_linux(struct bootm_headers *images)
                           cmd_start, cmd_end, 0, 0);
                /* does not return */
        }
-       return ;
+       return;
 }
 
 void arch_lmb_reserve(struct lmb *lmb)
@@ -148,7 +148,7 @@ void arch_lmb_reserve(struct lmb *lmb)
        cpu_mp_lmb_reserve(lmb);
 #endif
 
-       return ;
+       return;
 }
 
 static void boot_prep_linux(struct bootm_headers *images)
index 39b5c706a95a045ff6a9cea0da5207be253ac923..a7f9a7eca16785db0696aca2bd78014c157fb54c 100644 (file)
@@ -234,7 +234,7 @@ static void reset_net_chip(void)
        ret = gpio_request(rst_gpio, "");
        if (ret < 0) {
                printf("Unable to get GPIO %d\n", rst_gpio);
-               return ;
+               return;
        }
 
        /* Configure as output */
index 43cb01804b71485f165fdfa641b633d9204aa48c..589d7df731a098fd83baa577fd1f615890e2b5b2 100644 (file)
@@ -147,7 +147,7 @@ __fsl_ddr_set_lawbar(const common_timing_params_t *memctl_common_params,
        if (set_ddr_laws(base, size, law_memctl) < 0) {
                printf("%s: ERROR (ctrl #%d, TRGT ID=%x)\n", __func__, ctrl_num,
                        law_memctl);
-               return ;
+               return;
        }
        debug("setup ddr law base = 0x%llx, size 0x%llx, TRGT_ID 0x%x\n",
                base, size, law_memctl);
index af94dabe291e4f1afd2ab2bd0117675c3c1a76f2..43d2000d2488c904a3033ba2e4e76060b952dc55 100644 (file)
@@ -149,7 +149,7 @@ void fman_enet_init(void)
                }
        }
 
-       return ;
+       return;
 }
 
 void fm_disable_port(enum fm_port port)
@@ -233,7 +233,7 @@ static void
 __def_board_ft_fman_fixup_port(void *blob, char * prop, phys_addr_t pa,
                                enum fm_port port, int offset)
 {
-       return ;
+       return;
 }
 
 void board_ft_fman_fixup_port(void *blob, char * prop, phys_addr_t pa,