aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/tps65217-regulator.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-08-30 09:17:37 +0200
committerMark Brown <broonie@kernel.org>2019-09-02 12:49:42 +0100
commitd0087e72710ca7d1b309bf427286da58418ea89e (patch)
tree3924b3b46b1821c92d6350bbe0baea695c53dab8 /drivers/regulator/tps65217-regulator.c
parentMAINTAINERS: Add keyword pattern on regulator_get_optional() (diff)
downloadlinux-dev-d0087e72710ca7d1b309bf427286da58418ea89e.tar.xz
linux-dev-d0087e72710ca7d1b309bf427286da58418ea89e.zip
regulator: provide regulator_bulk_set_supply_names()
There are many regulator consumers who - before using the regulator bulk functions - set the supply names in regulator_bulk_data using a for loop. Let's provide a simple helper in the consumer API that allows users to do the same with a single function call. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Link: https://lore.kernel.org/r/20190830071740.4267-2-brgl@bgdev.pl Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/tps65217-regulator.c')
0 files changed, 0 insertions, 0 deletions