Re: [U-Boot] [PATCH V2 06/13] common: cmd regulator: command cleanup

2015-05-15 Thread Simon Glass
On 13 May 2015 at 05:38, Przemyslaw Marczak wrote: > This commit cleanups the regulator command. > The first change, is adjusting "regulator dev" command to use > "regulator-name" constraint, for setting the operating device. > Thanks to this, the regulator_get() function is removed. > > This also

[U-Boot] [PATCH V2 06/13] common: cmd regulator: command cleanup

2015-05-13 Thread Przemyslaw Marczak
This commit cleanups the regulator command. The first change, is adjusting "regulator dev" command to use "regulator-name" constraint, for setting the operating device. Thanks to this, the regulator_get() function is removed. This also updates do_list() function, with loop over uclass_find_* funct