u-boot/drivers/reset
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
..
ast2500-reset.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig configs: reset: fu540: enable dm reset framework for SiFive 2020-08-04 09:19:41 +08:00
Makefile configs: reset: fu540: enable dm reset framework for SiFive 2020-08-04 09:19:41 +08:00
reset-bcm6345.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset-hisilicon.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset-hsdk.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset-imx7.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset-mediatek.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset-meson.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset-mtmips.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset-raspberrypi.c reset: Add Raspberry Pi 4 firmware reset controller 2020-07-10 11:49:28 +02:00
reset-rockchip.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset-sifive.c sifive: reset: add DM based reset driver for SiFive SoC's 2020-08-04 09:19:41 +08:00
reset-socfpga.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
reset-sunxi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset-syscon.c reset: Add generic reset driver 2020-07-01 15:01:21 +08:00
reset-ti-sci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
reset-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
reset-uniphier.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
sandbox-reset-test.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox-reset.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sti-reset.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
stm32-reset.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra186-reset.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tegra-car-reset.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00