]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Convert mmc struct's name array to a pointer
authorPantelis Antoniou <panto@antoniou-consulting.com>
Mon, 10 Mar 2014 18:05:51 +0000 (20:05 +0200)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Mon, 24 Mar 2014 09:32:10 +0000 (11:32 +0200)
commit22cb7d334e296288e53057467dfee26858275516
treec8a1348c5f490f8cc5c88e601fd89f336ae85475
parentab769f227f79bedae7840f99b6c0c4d66aafc78e
mmc: Convert mmc struct's name array to a pointer

Using an array is pointless; even more pointless (and scary) is using
sprintf to fill it without a format string.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
16 files changed:
drivers/mmc/arm_pl180_mmci.c
drivers/mmc/bfin_sdh.c
drivers/mmc/davinci_mmc.c
drivers/mmc/dw_mmc.c
drivers/mmc/fsl_esdhc.c
drivers/mmc/ftsdc010_mci.c
drivers/mmc/gen_atmel_mci.c
drivers/mmc/mmc_spi.c
drivers/mmc/mxcmmc.c
drivers/mmc/mxsmmc.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/pxa_mmc_gen.c
drivers/mmc/sdhci.c
drivers/mmc/sh_mmcif.c
drivers/mmc/tegra_mmc.c
include/mmc.h