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>
This commit is contained in:
Adam Ward 2020-11-30 16:59:11 +00:00 • committed by Mark Brown
commit 9929900d18
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0