mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 05:04:26 +00:00
702e57e113
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> |
||
---|---|---|
.. | ||
ast2500-reset.c | ||
Kconfig | ||
Makefile | ||
reset-bcm6345.c | ||
reset-hisilicon.c | ||
reset-hsdk.c | ||
reset-imx7.c | ||
reset-mediatek.c | ||
reset-meson.c | ||
reset-mtmips.c | ||
reset-raspberrypi.c | ||
reset-rockchip.c | ||
reset-sifive.c | ||
reset-socfpga.c | ||
reset-sunxi.c | ||
reset-syscon.c | ||
reset-ti-sci.c | ||
reset-uclass.c | ||
reset-uniphier.c | ||
sandbox-reset-test.c | ||
sandbox-reset.c | ||
sti-reset.c | ||
stm32-reset.c | ||
tegra-car-reset.c | ||
tegra186-reset.c |