u-boot/drivers/sysreset
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
..
Kconfig sysreset: Add Octeon sysreset driver 2020-07-18 14:23:25 +02:00
Makefile sysreset: Add Octeon sysreset driver 2020-07-18 14:23:25 +02:00
sysreset-ti-sci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sysreset-uclass.c dm: sysreset: wait after reset message 2020-08-01 11:58:39 +02:00
sysreset_ast.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sysreset_gpio.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sysreset_microblaze.c sysreset: Add support for Microblaze soft reset jump 2018-07-19 10:49:55 +02:00
sysreset_mpc83xx.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sysreset_mpc83xx.h mpc83xx: Add sysreset driver 2018-09-18 00:01:18 -06:00
sysreset_octeon.c sysreset: Add Octeon sysreset driver 2020-07-18 14:23:25 +02:00
sysreset_psci.c sysreset: switch to using SYSRESET_POWER_OFF for poweroff 2019-08-19 12:43:26 +08:00
sysreset_resetctl.c sysreset: add reset controller based reboot driver 2020-04-27 20:29:33 +02:00
sysreset_rockchip.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
sysreset_sandbox.c sysreset: switch to using SYSRESET_POWER_OFF for poweroff 2019-08-19 12:43:26 +08:00
sysreset_socfpga.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
sysreset_socfpga_s10.c sysreset: socfpga: stratix10: add sysreset driver 2019-07-21 12:45:10 +02:00
sysreset_sti.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sysreset_syscon.c sysreset: syscon: Support value property 2020-07-24 14:55:49 +08:00
sysreset_watchdog.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset_x86.c x86: Move acpi_s3.h to include/acpi/ 2020-04-16 14:36:28 +08:00
sysreset_xtfpga.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00