u-boot/drivers/mmc
Masahiro Yamada 702e57e113 treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr()
When you enable CONFIG_OF_LIVE, you will end up with a lot of
conversions.

To help this tedious work, this commit converts devfdt_get_addr_ptr()
to dev_read_addr_ptr() by coccinelle. I also removed redundant casts
because dev_read_addr_ptr() returns an opaque pointer.

To generate this commit, I ran the following semantic patch
excluding include/dm/.

  <smpl>
  @@
  type T;
  expression dev;
  @@
  -(T *)devfdt_get_addr_ptr(dev)
  +dev_read_addr_ptr(dev)
  @@
  expression dev;
  @@
  -devfdt_get_addr_ptr(dev)
  +dev_read_addr_ptr(dev)
  </smpl>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-08-22 08:53:37 -06:00
..
am654_sdhci.c mmc: am654_sdhci: Use MMC_MODES_END value instead of hardcoded value 2020-08-11 20:34:45 +05:30
arm_pl180_mmci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
arm_pl180_mmci.h mmc: arm_pl180_mmci: Sync compatible with kernel 2019-04-23 15:31:30 +02:00
aspeed_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
atmel_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
bcm2835_sdhci.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
bcm2835_sdhost.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
bcmstb_sdhci.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
ca_dw_mmc.c mmc: ca_dw_mmc: Misc cleanup of driver 2020-06-15 09:45:22 +08:00
davinci_mmc.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
dw_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
exynos_dw_mmc.c ARM: Odroid XU3: Modify exynos dw_mmc driver to support Odroid XU3 in DM MMC 2018-08-06 10:53:53 +09:00
fsl_esdhc_imx.c mmc: fsl_esdhc_imx: add CD support when OF_PLATDATA is enabled 2020-08-02 14:50:59 +02:00
fsl_esdhc_spl.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
fsl_esdhc.c Move eSDHC adapter card identification to board files 2020-07-27 14:16:28 +05:30
ftsdc010_mci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
ftsdc010_mci.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gen_atmel_mci.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
hi6220_dw_mmc.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
iproc_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
jz_mmc.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
Kconfig xilinx: kconfig: Change Kconfig dependencies for Xilinx drivers 2020-08-20 09:46:55 +02:00
kona_sdhci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Makefile mmc: add nexell driver 2020-07-29 08:43:40 -04:00
meson_gx_mmc.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
mmc_boot.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mmc_legacy.c Move eSDHC adapter card identification to board files 2020-07-27 14:16:28 +05:30
mmc_private.h Move eSDHC adapter card identification to board files 2020-07-27 14:16:28 +05:30
mmc_spi.c mmc_spi: generate R1b response for erase and stop transmission command 2020-07-14 16:19:47 +08:00
mmc_write.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
mmc-uclass.c Move eSDHC adapter card identification to board files 2020-07-27 14:16:28 +05:30
mmc.c Move eSDHC adapter card identification to board files 2020-07-27 14:16:28 +05:30
msm_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
mtk-sd.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mv_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
mvebu_mmc.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mxcmmc.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mxsmmc.c drivers: avoid using aliases on drivers when OF_PLATDATA is enabled 2020-07-28 19:30:39 -06:00
nexell_dw_mmc.c mmc: add nexell driver 2020-07-29 08:43:40 -04:00
omap_hsmmc.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
pci_mmc.c acpi: mmc: Generate ACPI info for the PCI SD Card 2020-07-17 14:32:24 +08:00
pic32_sdhci.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pxa_mmc_gen.c arm: pxa: mmc: add driver model support 2020-06-30 11:13:11 -04:00
renesas-sdhi.c mmc: renesas-sdhi: Enable support for R8A774A1 2020-07-25 11:16:40 +02:00
rockchip_dw_mmc.c dtoc: extend dtoc to use struct driver_info when linking nodes 2020-07-09 22:00:29 -06:00
rockchip_sdhci.c dtoc: extend dtoc to use struct driver_info when linking nodes 2020-07-09 22:00:29 -06:00
rpmb.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
s5p_sdhci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sdhci-cadence.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
sdhci.c mmc: sdhci: Use upper/lower_32_bits macros 2020-08-20 09:58:59 +02:00
sh_mmcif.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
sh_mmcif.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sh_sdhi.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
snps_dw_mmc.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
socfpga_dw_mmc.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
sti_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
stm32_sdmmc2.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sunxi_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
tangier_sdhci.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
tegra_mmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tmio-common.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
tmio-common.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
uniphier-sd.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
xenon_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
zynq_sdhci.c mmc: zynq: Fix default value for xlnx,mio-bank 2020-08-20 09:49:20 +02:00