rv1126-uboot/drivers/mmc
Masahiro Yamada 90aa625c9a treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:

  # define __compiletime_error(message) __attribute__((error(message)))

This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux.  (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

Let's convert error() into now treewide-available pr_err().

Done with the help of Coccinelle, excluing tools/ directory.

The semantic patch I used is as follows:

// <smpl>
@@@@
-error
+pr_err
 (...)
// </smpl>

Change-Id: I921807c1770d36a91e692c48ab477558bb2ed0b8
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 9b643e312d528f291966c1f30b0d90bf3b1d43dc)
2018-01-17 15:27:28 +08:00
..
Kconfig mmc: sunxi: Support new mode 2017-08-28 22:36:44 +05:30
Makefile dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
arm_pl180_mmci.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
atmel_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
bcm2835_sdhci.c Handle slow MMC writes 2017-11-14 10:55:45 +08:00
davinci_mmc.c mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC 2017-05-15 18:28:23 +09:00
dw_mmc.c mmc: dw_mmc: support transfer mode autodetection 2017-11-07 16:30:53 +08:00
exynos_dw_mmc.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
fsl_esdhc.c mmc: rework ddr mode judgement with timing 2017-09-12 16:04:22 +08:00
fsl_esdhc_spl.c block: pass block dev not num to read/write/erase() 2016-01-13 21:05:18 -05:00
ftsdc010_mci.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
gen_atmel_mci.c mmc: gen_atmel_mci: Fix wrong arguments used of bind() 2017-08-17 16:44:12 +09:00
hi6220_dw_mmc.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
kona_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
meson_gx_mmc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mmc-uclass.c mmc: add card_busy to query card status 2017-09-12 16:04:21 +08:00
mmc.c mmc: add support for HS400 mode of eMMC5.0 2017-09-12 16:04:26 +08:00
mmc_boot.c cmd: mmc: add mmc partconf read capability 2017-08-17 17:00:11 +09:00
mmc_legacy.c dm: mmc: Drop CONFIG_DM_MMC_OPS 2017-08-17 16:59:55 +09:00
mmc_private.h dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
mmc_spi.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mmc_write.c dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
msm_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mv_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
mvebu_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mxcmmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mxsmmc.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
omap_hsmmc.c dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
pci_mmc.c mmc: Support generic PCI SD host controller 2017-08-18 15:37:38 +09:00
pic32_sdhci.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
pxa_mmc_gen.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
rockchip_dw_mmc.c UPSTREAM: rockchip: mmc: convert to livetree 2018-01-16 18:16:48 +08:00
rockchip_sdhci.c UPSTREAM: rockchip: sdhci: Convert to livetree 2018-01-16 18:16:48 +08:00
rpmb.c mmc: rpmb: Add interface functions 2017-11-14 10:55:49 +08:00
s5p_sdhci.c mmc: sdhci: rename set_clock callback 2017-09-12 16:04:25 +08:00
sandbox_mmc.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
sdhci-cadence.c mmc: cadence: use fdt32_t for DT property value to fix sparse warning 2017-07-19 19:13:59 +09:00
sdhci.c mmc: sdhci: add the support for tuning 2017-09-12 16:04:26 +08:00
sh_mmcif.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
sh_mmcif.h ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
sh_sdhi.c mmc: sd_sdhi: Enable clock using clock framework 2017-08-17 14:38:18 +09:00
socfpga_dw_mmc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sti_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sunxi_mmc.c mmc: sunxi: Only update timing mode bit when enabling new timing mode 2017-09-01 19:49:47 +05:30
tangier_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
tegra_mmc.c dm: tegra: mmc: Convert to livetree 2017-07-28 12:02:47 -06:00
uniphier-sd.c UPSTREAM: dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2018-01-16 18:13:53 +08:00
xenon_sdhci.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
zynq_sdhci.c dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00