u-boot/arch/arm
Michal Suchanek c726fc01cf dm: treewide: Use uclass_first_device_err when accessing one device
There is a number of users that use uclass_first_device to access the
first and (assumed) only device in uclass.

Some check the return value of uclass_first_device and also that a
device was returned which is exactly what uclass_first_device_err does.

Some are not checking that a device was returned and can potentially
crash if no device exists in the uclass. Finally there is one that
returns NULL on error either way.

Convert all of these to use uclass_first_device_err instead, the return
value will be removed from uclass_first_device in a later patch.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-10-17 21:17:12 -06:00
..
cpu armv8: cache_v8: Fix pgtables setup when MMU is already enabled 2022-10-06 21:05:17 -04:00
dts Xilinx changes for v2023.01-rc1 (round 3) 2022-10-11 09:57:08 -04:00
include imx: gpmi: Add register needed to control nand bus timing 2022-10-09 10:42:26 +02:00
lib common/board_f: move CONFIG_MACH_TYPE logic to arch/arm/lib/bdinfo.c 2022-10-06 21:05:17 -04:00
mach-apple arm: apple: Add initial Apple M2 support 2022-07-25 09:38:47 -04:00
mach-aspeed treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-at91 cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
mach-bcm283x
mach-bcmbca arm: bcmbca: introduce the bcmbca architecture and 47622 SOC 2022-06-10 13:37:32 -04:00
mach-bcmstb
mach-cortina
mach-davinci arm: Remove unused references to CONFIG_SOC_DM* 2022-07-25 14:57:27 -04:00
mach-exynos arm: samsung: Migrate a number of symbols to Kconfig 2022-06-28 17:04:37 -04:00
mach-highbank
mach-hpe ARM: hpe: gxp: add core support 2022-06-22 21:30:04 -04:00
mach-imx treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-integrator arm: integrator: Migrate platform-specific options and cleanup armcoremodule.h 2022-04-08 09:05:19 -04:00
mach-ipq40xx arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings 2022-08-26 10:55:46 -04:00
mach-k3 treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-keystone treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-kirkwood arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00
mach-lpc32xx net: lpc32xx_eth.c ethernet driver 2022-08-20 21:18:15 -04:00
mach-mediatek arm: mediatek: add support for MediaTek MT7981 SoC 2022-09-23 15:09:15 -04:00
mach-meson ARM: meson: fixup error on efuse commands return 2022-08-08 09:56:38 +02:00
mach-mvebu arm: mvebu: Add support for specifying VHV_Enable GPIO 2022-10-06 10:15:35 +02:00
mach-nexell video: Drop references to CONFIG_VIDEO et al 2022-03-28 20:17:07 +02:00
mach-npcm arm: nuvoton: Add support for Nuvoton NPCM845 BMC 2022-10-06 21:05:17 -04:00
mach-octeontx
mach-octeontx2
mach-omap2 dm: treewide: Use uclass_first_device_err when accessing one device 2022-10-17 21:17:12 -06:00
mach-orion5x arm: Remove edminiv2 board 2022-08-20 21:18:15 -04:00
mach-owl
mach-qemu
mach-rmobile arm: Remove kzm9g board 2022-08-20 21:18:15 -04:00
mach-rockchip board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
mach-s5pc1xx
mach-snapdragon arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings 2022-08-26 10:55:46 -04:00
mach-socfpga treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
mach-sti stm32mp1: fix reference for STMicroelectronics 2022-06-17 14:12:27 +02:00
mach-stm32 configs: stm32f746-disco: Migrate SPL flags to defconfig 2022-05-10 13:56:12 +02:00
mach-stm32mp - Increase SYS_MALLOC_F_LEN for STM32 MCU's board 2022-09-27 08:53:51 -04:00
mach-sunxi treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-tegra dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
mach-u8500
mach-uniphier serial: Replace CONFIG_DEBUG_UART_BASE by CONFIG_VAL(DEBUG_UART_BASE) 2022-06-06 18:01:21 -04:00
mach-versal arm64: versal: Define zynqmp_mmio_write() for versal 2022-09-13 11:32:48 +02:00
mach-versal-net spi: cadence_qspi: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00
mach-versatile
mach-zynq ARM: zynq: Align bss and end of u-boot image to 64bits 2022-09-13 11:32:48 +02:00
mach-zynqmp arm64: zynqmp: Fix compiler warnings in mp.c 2022-10-07 11:29:48 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk Makefile: Allow LTO to be disabled for a build 2022-09-02 16:20:11 -04:00
Kconfig arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00
Kconfig.debug
Makefile arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00