u-boot/drivers/pinctrl
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
..
aspeed common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ath79 treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
broadcom dm: Fix error handling for dev_read_addr_ptr 2020-07-01 15:01:21 +08:00
exynos treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
intel x86: pinctrl: Drop the acpi_path member 2020-07-17 14:32:24 +08:00
mediatek pinctrl: mediatek: mt8512: fix the wrong start address of ranges 2020-08-19 17:37:37 -04:00
meson common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mscc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtmips dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mvebu treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
nexell pinctrl: add nexell driver 2020-07-29 08:43:40 -04:00
nxp drivers: rename more drivers to match compatible string 2020-08-02 14:51:08 +02:00
renesas binman support for FIT 2020-07-27 11:15:37 -04:00
rockchip drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
uniphier treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
Kconfig pinctrl: aspeed: Fix Kconfig entry indentation 2020-08-04 23:30:02 -04:00
Makefile pinctrl: add nexell driver 2020-07-29 08:43:40 -04:00
pinctrl_pic32.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pinctrl_stm32.c pinctrl: stm32: add information on pin configuration 2020-07-07 16:01:23 +02:00
pinctrl-at91-pio4.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
pinctrl-at91.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
pinctrl-generic.c dm: pinctrl: migrate pinctrl-generic to livetree 2020-04-16 23:06:54 -04:00
pinctrl-sandbox.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pinctrl-single.c dm: pinctrl: Use right device pointer for configuring pinctrl 2020-04-23 08:25:37 -04:00
pinctrl-sti.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
pinctrl-stmfx.c pinctrl: stmfx: add information on pin configuration 2020-07-07 16:01:23 +02:00
pinctrl-uclass.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00