regulator: core: Remove regulator_list
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 21 Sep 2015 14:02:47 +0000 (16:02 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2015 19:34:46 +0000 (12:34 -0700)
commit85f3b4311629defd68eb2b9779fda593d8fb7728
tree976118fd01aaf8a5c83fb03b97dbfefe1e58033c
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
regulator: core: Remove regulator_list

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 <tomeu.vizoso@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c