# \[PATCH v6 07/22\] regulator: core: Remove regulator\_list

- From: Tomeu Vizoso \<hidden\>
- Date: 2015-09-22 07:21:34 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2015/09/4580756
- Thread: https://ratatoskr.run/linux-arm-kernel/2015/09/4580213/t.md

```text
On 21 September 2015 at 21:38, Mark Brown [ref] 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 class_for_each_device().
>
> I've done an initial review of this and will push it to git so it can go
> into the various test systems.  It's on a branch by itself so if there's
> issues it's easy to back out, either from testing or from review from me
> or others.  If we get to the point of merging the whole series then I'll
> tag the code for cross merging.
>
> Thanks a lot for working on this, this is something I'd started looking
> at myself and it's a lot easier to just review code from someone else!

Thanks for your patience, will keep an eye on possible regressions.

Regards,

Tomeu
```
