Re: [PATCH v6 07/22] regulator: core: Remove regulator_list

2015-09-22 Thread Tomeu Vizoso
On 21 September 2015 at 21:38, Mark Brown wrote: > On Mon, Sep 21, 2015 at 04:02:47PM +0200, Tomeu Vizoso wrote: >> As we are already registering a device with regulator_class for each >> regulator device, regulator_list is redundant and can be replaced with >> calls to class_find_device() and cla

Re: [PATCH v6 07/22] regulator: core: Remove regulator_list

2015-09-21 Thread Mark Brown
On Mon, Sep 21, 2015 at 04:02:47PM +0200, Tomeu Vizoso wrote: > As we are already registering a device with regulator_class for each > regulator device, regulator_list is redundant and can be replaced with > calls to class_find_device() and class_for_each_device(). I've done an initial review of t

[PATCH v6 07/22] regulator: core: Remove regulator_list

2015-09-21 Thread Tomeu Vizoso
As we are already registering a device with regulator_class for each regulator device, regulator_list is redundant and can be replaced with calls to class_find_device() and class_for_each_device(). Signed-off-by: Tomeu Vizoso --- Changes in v6: - Merge changes to the regulator subsystem's lockin