regulator: Add of_regulator_bulk_get_all
authorCorentin Labbe <clabbe@baylibre.com>
Tue, 15 Nov 2022 07:36:01 +0000 (07:36 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 18 Nov 2022 15:13:34 +0000 (15:13 +0000)
commit27b9ecc7a9ba1d0014779bfe5a6dbf630899c6e7
tree50f145a8cd2f00d416b280a20c51aa0e4e913a91
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
regulator: Add of_regulator_bulk_get_all

It work exactly like regulator_bulk_get() but instead of working on a
provided list of names, it seek all consumers properties matching
xxx-supply.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Link: https://lore.kernel.org/r/20221115073603.3425396-2-clabbe@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/of_regulator.c
include/linux/regulator/consumer.h