devm_regulator_bulk_get - managed get multiple regulator consumers
2. SYNOPSIS ▲
int devm_regulator_bulk_get(struct device * dev , int num_consumers , struct regulator_bulk_data * consumers );
3. ARGUMENTS ▲
Device to supply
Number of consumers to register
Configuration of consumers; clients are stored here.
4. DESCRIPTION ▲
return 0 on success, an errno on failure.
This helper function allows drivers to get several regulator consumers in one operation with management, the regulators will automatically be freed when the device is unbound. If any of the regulators cannot be acquired then any regulators that were allocated will be freed before returning to the caller.
5. AUTHORS ▲
Liam Girdwood <
Mark Brown <
6. COPYRIGHT ▲