u-boot/drivers/watchdog
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
..
armada-37xx-wdt.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ast_wdt.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
at91sam9_wdt.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
bcm6345_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cdns_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cortina_wdt.c watchdog: cortina_wdt: add support for HW WDT on CAxxxx SoCs 2020-02-07 16:15:57 -05:00
designware_wdt.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ftwdt010_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
imx_watchdog.c watchdog: imx: Support set timeout by wdt command 2020-07-16 11:20:21 +02:00
Kconfig watchdog: Add support for K3 RTI watchdog 2020-08-11 10:18:27 +05:30
Makefile watchdog: Add support for K3 RTI watchdog 2020-08-11 10:18:27 +05:30
mpc8xx_wdt.c watchdog: mpc8xx_wdt: Allow selection of watchdog mode through environment 2020-04-24 10:09:59 -04:00
mt7621_wdt.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtk_wdt.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
omap_wdt.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
orion_wdt.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rti_wdt.c watchdog: Add support for K3 RTI watchdog 2020-08-11 10:18:27 +05:30
s5p_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sbsa_gwdt.c Watchdog: introduce ARM SBSA watchdog driver 2020-07-27 14:24:15 +05:30
sp805_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
stm32mp_wdt.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
tangier_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ulp_wdog.c common: Move reset_cpu() to the CPU header 2020-01-17 14:02:31 -05:00
wdt-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
xilinx_tb_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
xilinx_wwdt.c watchdog: versal: Add support for Xilinx window watchdog 2020-04-06 12:52:45 +02:00