]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: stm32_sdmmc2: cosmetic: rename stm32_sdmmc_bind
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 30 Jun 2022 08:01:45 +0000 (10:01 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 12 Jul 2022 09:46:31 +0000 (11:46 +0200)
Rename stm32_sdmmc_bind to stm32_sdmmc2_bind as all other functions
in SDMMCv2 driver

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Change-Id: Ic51acdfbbba6e971809c1029dd2227038bfe879d

drivers/mmc/stm32_sdmmc2.c

index 81b07609a912ca890c026d75be856d0c317ca3da..e3853b7fbfb1fa63d7885d04097edb4be5131ba1 100644 (file)
@@ -763,7 +763,7 @@ clk_free:
        return ret;
 }
 
-static int stm32_sdmmc_bind(struct udevice *dev)
+static int stm32_sdmmc2_bind(struct udevice *dev)
 {
        struct stm32_sdmmc2_plat *plat = dev_get_plat(dev);
 
@@ -781,7 +781,7 @@ U_BOOT_DRIVER(stm32_sdmmc2) = {
        .of_match = stm32_sdmmc2_ids,
        .ops = &stm32_sdmmc2_ops,
        .probe = stm32_sdmmc2_probe,
-       .bind = stm32_sdmmc_bind,
+       .bind = stm32_sdmmc2_bind,
        .priv_auto      = sizeof(struct stm32_sdmmc2_priv),
        .plat_auto      = sizeof(struct stm32_sdmmc2_plat),
 };