]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: da9121: Update registration to support multiple buck variants
authorAdam Ward <Adam.Ward.opensource@diasemi.com>
Mon, 30 Nov 2020 16:59:11 +0000 (16:59 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 1 Dec 2020 12:18:01 +0000 (12:18 +0000)
commit327847c5ca6585e97a165978c5805974755d3922
tree4c466a835644132887b5d8b4a863c7794a543f63
parent1b5414c641194bca2f0d803a81341375771f09b4
regulator: da9121: Update registration to support multiple buck variants

Add function which iterates the regulator descriptors for the confirmed
variant ID and registers each buck.

Signed-off-by: Adam Ward <Adam.Ward.opensource@diasemi.com>
Link: https://lore.kernel.org/r/1fd53c3ab032ef3c8a92f80a2247381db1c09ced.1606755367.git.Adam.Ward.opensource@diasemi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9121-regulator.c