u-boot/drivers/i2c
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
..
muxes common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ast_i2c.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
ast_i2c.h i2c: ast_i2c: Update to use standard enums for speed 2020-01-27 07:22:41 +01:00
at91_i2c.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
at91_i2c.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
cros_ec_ldo.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cros_ec_tunnel.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
davinci_i2c.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
davinci_i2c.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
designware_i2c.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
designware_i2c.h i2c: designware_i2c: Support ACPI table generation 2020-07-17 14:32:24 +08:00
designware_i2c_pci.c i2c: designware_i2c: Support ACPI table generation 2020-07-17 14:32:24 +08:00
exynos_hs_i2c.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
fsl_i2c.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
i2c-cdns.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
i2c-cortina.c i2c: i2c-cortina: added CAxxxx I2C support 2020-07-09 06:02:44 +02:00
i2c-cortina.h i2c: i2c-cortina: added CAxxxx I2C support 2020-07-09 06:02:44 +02:00
i2c-emul-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
i2c-gpio.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
i2c-uclass.c i2c: Add log_ret() on error 2020-07-17 14:32:24 +08:00
i2c-uniphier-f.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
i2c-uniphier.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
i2c-versatile.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
i2c_core.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ihs_i2c.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
imx_lpi2c.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
intel_i2c.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
iproc_i2c.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
iproc_i2c.h drivers: i2c: add brcm iproc I2C driver support 2020-04-20 06:52:28 +02:00
Kconfig xilinx: kconfig: Change Kconfig dependencies for Xilinx drivers 2020-08-20 09:46:55 +02:00
kona_i2c.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
lpc32xx_i2c.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile i2c: add nexell driver 2020-07-29 08:43:40 -04:00
meson_i2c.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mv_i2c.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
mv_i2c.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mvtwsi.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
mxc_i2c.c Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq 2020-07-27 15:18:15 -04:00
nx_i2c.c i2c: add nexell driver 2020-07-29 08:43:40 -04:00
octeon_i2c.c i2c: octeon_i2c: Add I2C controller driver for Octeon 2020-07-09 06:02:44 +02:00
omap24xx_i2c.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
omap24xx_i2c.h i2c: omap: Update to use standard enums for speed 2020-01-27 07:23:26 +01:00
rcar_i2c.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rcar_iic.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rk_i2c.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
s3c24x0_i2c.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
s3c24x0_i2c.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_i2c.c dm: acpi: Enhance acpi_get_name() 2020-07-17 14:32:24 +08:00
sh_i2c.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
soft_i2c.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
stm32f7_i2c.c i2c: stm32f7: SYSCFG Fast Mode Plus support for I2C STM32F7 2020-07-09 06:02:45 +02:00
tegra186_bpmp_i2c.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra_i2c.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
xilinx_xiic.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00