1REGULATOR_BULK_GET(9)            API reference           REGULATOR_BULK_GET(9)
2
3
4

NAME

6       regulator_bulk_get - get multiple regulator consumers
7

SYNOPSIS

9       int regulator_bulk_get(struct device * dev, int num_consumers,
10                              struct regulator_bulk_data * consumers);
11

ARGUMENTS

13       dev
14           Device to supply
15
16       num_consumers
17           Number of consumers to register
18
19       consumers
20           Configuration of consumers; clients are stored here.
21

DESCRIPTION

23       return 0 on success, an errno on failure.
24
25       This helper function allows drivers to get several regulator consumers
26       in one operation. If any of the regulators cannot be acquired then any
27       regulators that were allocated will be freed before returning to the
28       caller.
29

AUTHORS

31       Liam Girdwood <lrg@slimlogic.co.uk>
32           Author.
33
34       Mark Brown <broonie@opensource.wolfsonmicro.com>
35       Wolfson Microelectronics,
36
37
38           Author.
39
41Kernel Hackers Manual 3.10         June 2019             REGULATOR_BULK_GET(9)
Impressum