u-boot/drivers/core
Bin Meng 0e35b937b9 of: addr: Remove call to dev_count_cells() in of_get_address()
In of_get_address(), there is:

  dev_count_cells(dev, &na, &ns);

followed by:

  bus->count_cells(dev, &na, &ns);

but no codes in between use na/ns, hence the first call is useless.
By dropping the first call, dev_count_cells() is now useless too.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-06-05 07:35:34 -06:00
..
acpi.c dm: core: Use -ENOSPC in acpi_get_path() 2021-04-06 16:33:19 +12:00
device-remove.c Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
device.c dm: core: Use separate priv/plat data region 2021-03-26 17:03:09 +13:00
devres.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
dump.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
fdtaddr.c Revert "fdt: translate address if #size-cells = <0>" 2021-05-12 16:27:57 +05:30
Kconfig Revert "fdt: translate address if #size-cells = <0>" 2021-05-12 16:27:57 +05:30
lists.c dm: core: Add logging when lists_bind_fdt() fails 2021-01-05 12:24:41 -07:00
Makefile dm: Avoid using #ifdef for CONFIG_OF_LIVE 2020-10-29 14:42:17 -06:00
of_access.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
of_addr.c of: addr: Remove call to dev_count_cells() in of_get_address() 2021-06-05 07:35:34 -06:00
of_extra.c of: extra: Introduce ofnode_phy_is_fixed_link() API 2021-04-15 14:22:17 +05:30
ofnode.c Revert "fdt: translate address if #size-cells = <0>" 2021-05-12 16:27:57 +05:30
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
read.c dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
regmap.c regmap: fix a serious pointer casting bug 2021-05-24 14:21:30 -04:00
root.c Revert "fdt: translate address if #size-cells = <0>" 2021-05-12 16:27:57 +05:30
simple-bus.c dm: core: Correctly read <ranges> of simple-bus 2021-04-15 14:22:17 +05:30
simple-pm-bus.c simple-pm-bus: Use -ENOSYS for checking missing system call 2021-04-06 16:33:19 +12:00
syscon-uclass.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
uclass.c dm: core: Drop uclass_find_device_by_phandle() with of-platdata 2021-03-26 17:03:08 +13:00
util.c dm: core: Allow dm_warn() to be used in SPL 2020-10-29 14:42:17 -06:00