]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit152f587e3ea109f4b9f06320c3aae4455a3000a0
treeef9ae8c2cf889bf94f6a221716af86e133d5f255
parent63a93e8b6f037095269fcc2103e8c0413ff44c06
regulator: core: Use class device list for regulator_list in late init

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