regulator: core: Use class device list for regulator_list in late init
authorMark Brown <broonie@kernel.org>
Mon, 10 Aug 2015 18:43:47 +0000 (19:43 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 12 Aug 2015 12:21:14 +0000 (13:21 +0100)
The regulator_list has exactly the same contents as the list that the
driver core maintains of regulator_class members so is redundant. As a
first step in converting over to use the class device list convert our
iteration in late_initcall() to use the class device iterator.

Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c

Simple merge