1DEVM_REGULATOR_BULK_(9) API reference DEVM_REGULATOR_BULK_(9)
2
3
4
6 devm_regulator_bulk_get - managed get multiple regulator consumers
7
9 int devm_regulator_bulk_get(struct device * dev, int num_consumers,
10 struct regulator_bulk_data * consumers);
11
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
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 with management, the regulators will automatically be
27 freed when the device is unbound. If any of the regulators cannot be
28 acquired then any regulators that were allocated will be freed before
29 returning to the caller.
30
32 Liam Girdwood <lrg@slimlogic.co.uk>
33 Author.
34
35 Mark Brown <broonie@opensource.wolfsonmicro.com>
36 Wolfson Microelectronics,
37
38
39 Author.
40
42Kernel Hackers Manual 3.10 June 2019 DEVM_REGULATOR_BULK_(9)