Re: [U-Boot] [PATCH 2/2] dm: Use uclass_first_device_err() where it is useful

2016-03-12 Thread Simon Glass
On 11 February 2016 at 13:23, Simon Glass wrote: > Use this new function in places where it simplifies the code. > > Signed-off-by: Simon Glass > --- > > arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 2 +- > arch/nios2/cpu/cpu.c |

[U-Boot] [PATCH 2/2] dm: Use uclass_first_device_err() where it is useful

2016-02-11 Thread Simon Glass
Use this new function in places where it simplifies the code. Signed-off-by: Simon Glass --- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 2 +- arch/nios2/cpu/cpu.c | 4 +--- arch/x86/cpu/interrupts.c| 2 +-