u-boot/drivers/timer
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
..
ag101p_timer.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
altera_timer.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
arc_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
ast_timer.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
atcpit100_timer.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
atmel_pit_timer.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
cadence-ttc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
dw-apb-timer.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
Kconfig timer: Add driver for Nomadik Multi Timer Unit (MTU) 2020-01-22 17:47:56 -05:00
Makefile timer: Add driver for Nomadik Multi Timer Unit (MTU) 2020-01-22 17:47:56 -05:00
mpc83xx_timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtk_timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nomadik-mtu-timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
omap-timer.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
ostm_timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
riscv_timer.c timer: Add generic driver for RISC-V privileged architecture defined timer 2018-12-18 09:56:26 +08:00
rockchip_timer.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox_timer.c regmap: fix regmap_read_poll_timeout warning about sandbox_timer_add_offset 2019-04-23 11:17:15 +02:00
sti-timer.c timer: sti: use clk API to get timer clock rate 2020-03-24 14:23:35 +01:00
stm32_timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
timer-uclass.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
tsc_timer.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00