[U-Boot] [PATCH 2/2] dm: Use uclass_first_device_err() where it is useful
Simon Glass
sjg at chromium.org
Sun Mar 13 02:51:26 CET 2016
On 11 February 2016 at 13:23, Simon Glass <sjg at chromium.org> wrote:
> Use this new function in places where it simplifies the code.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 2 +-
> arch/nios2/cpu/cpu.c | 4 +---
> arch/x86/cpu/interrupts.c | 2 +-
> arch/x86/cpu/ivybridge/cpu.c | 14 +++++---------
> arch/x86/cpu/ivybridge/gma.c | 6 +++---
> arch/x86/cpu/ivybridge/sata.c | 4 +---
> arch/x86/cpu/ivybridge/sdram.c | 4 +---
> arch/x86/lib/mpspec.c | 2 +-
> cmd/bmp.c | 12 ++++--------
> cmd/tpm.c | 4 ++--
> drivers/gpio/rk_gpio.c | 4 +---
> drivers/misc/altera_sysid.c | 4 +---
> drivers/pci/pci-uclass.c | 4 +---
> drivers/power/regulator/regulator-uclass.c | 2 +-
> drivers/timer/timer-uclass.c | 4 +---
> drivers/video/vidconsole-uclass.c | 6 ++----
> lib/tpm.c | 6 +++---
> 17 files changed, 30 insertions(+), 54 deletions(-)
Applied to u-boot-dm/next.
More information about the U-Boot
mailing list