]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: Use uclass_first_device_err() where it is useful
authorSimon Glass <sjg@chromium.org>
Thu, 11 Feb 2016 20:23:26 +0000 (13:23 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
commit3f603cbbb8e175e545d6037a783e1ef82bab30f9
treec3122b2be426be9bcfd3285bda86cb175fb9aaeb
parentb06750501f5c0eef7fef094f13d2f2e313c60b79
dm: Use uclass_first_device_err() where it is useful

Use this new function in places where it simplifies the code.

Signed-off-by: Simon Glass <sjg@chromium.org>
17 files changed:
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
arch/nios2/cpu/cpu.c
arch/x86/cpu/interrupts.c
arch/x86/cpu/ivybridge/cpu.c
arch/x86/cpu/ivybridge/gma.c
arch/x86/cpu/ivybridge/sata.c
arch/x86/cpu/ivybridge/sdram.c
arch/x86/lib/mpspec.c
cmd/bmp.c
cmd/tpm.c
drivers/gpio/rk_gpio.c
drivers/misc/altera_sysid.c
drivers/pci/pci-uclass.c
drivers/power/regulator/regulator-uclass.c
drivers/timer/timer-uclass.c
drivers/video/vidconsole-uclass.c
lib/tpm.c