u-boot/drivers/clk/at91
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
..
clk-generated.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
clk-h32mx.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
clk-main.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk-master.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
clk-peripheral.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
clk-plla.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk-plladiv.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk-slow.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk-system.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk-usb.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
clk-utmi.c ARM: at91: Rename sama5_sfr.h to at91_sfr.h 2019-10-08 09:16:11 +03:00
Kconfig clk: at91: add USB Host clock driver 2018-03-16 07:30:04 -04:00
Makefile clk: at91: add PLLADIV driver 2018-03-16 07:30:04 -04:00
pmc.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
pmc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sckc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00