regulator_bulk_get (9) - Linux Man Pages
regulator_bulk_get: get multiple regulator consumers
regulator_bulk_get - get multiple regulator consumers
int regulator_bulk_get(struct device
*dev, int num_consumers, struct regulator_bulk_data *consumers);
- Device to supply
- Number of consumers to register
- Configuration of consumers; clients are stored here.
return 0 on success, an errno on failure.
This helper function allows drivers to get several regulator consumers in one operation. If any of the regulators cannot be acquired then any regulators that were allocated will be freed before returning to the caller.
Liam Girdwood <lrg [at] slimlogic.co.uk>