u-boot/include/dm
Ovidiu Panait 3fe69d3764 dm: core: Fix devfdt_get_addr_ptr return value
According to the description of devfdt_get_addr_ptr, this function should
return NULL on failure, but currently it returns (void *)FDT_ADDR_T_NONE.

Fix this by making devfdt_get_addr_ptr return NULL on failure, as
described in the function comments. Also, update the drivers currently
checking (void *)FDT_ADDR_T_NONE to check for NULL.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-08-22 07:59:14 -06:00
..
platform_data arm: pxa: mmc: add driver model support 2020-06-30 11:13:11 -04:00
acpi.h dm: acpi: Add support for the NHLT table 2020-07-17 14:32:24 +08:00
device-internal.h core: drop const for struct driver_info 2020-07-09 22:00:29 -06:00
device.h pci: Avoid a crash in device_is_on_pci_bus() 2020-07-17 14:32:24 +08:00
device_compat.h dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
devres.h dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
fdtaddr.h dm: core: Use const device for the devfdt...() interface 2020-02-05 19:33:45 -07:00
lists.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
of.h dm: Fix default address cells return value 2019-10-15 08:40:02 -06:00
of_access.h dm: core: add ofnode and dev function to iterate on node property 2020-04-16 23:06:54 -04:00
of_addr.h dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
of_extra.h dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.h dm: remove superfluous comment for union ofnode_union 2020-07-28 19:30:39 -06:00
pci.h dm: pci: Move pci_get_devfn() into a common file 2019-12-15 08:52:29 +08:00
pinctrl.h pinctrol: dm: remove the function pinctrl_decode_pin_config 2019-11-14 07:09:34 -06:00
platdata.h core: extend struct driver_info to point to device 2020-07-09 22:00:29 -06:00
read.h dm: core: Fix devfdt_get_addr_ptr return value 2020-08-22 07:59:14 -06:00
root.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
test.h dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
uclass-id.h xen: pvblock: Add initial support for para-virtualized block driver 2020-08-14 15:18:30 -04:00
uclass-internal.h dm: core: Correct the return value for uclass_find_first_device() 2019-10-08 13:57:38 +08:00
uclass.h dm: core: Correct comment on uclass_id_foreach_dev() 2020-07-09 18:57:22 -06:00
util.h cmd: dm: Fixed/Added DM driver listing subcommands 2020-07-07 15:37:13 -04:00