regulator_bulk_register_supply_alias (9) - Linux Man Pages
regulator_bulk_register_supply_alias: register multiple aliases
regulator_bulk_register_supply_alias - register multiple aliases
int regulator_bulk_register_supply_alias(struct device
*dev, const char *constid, struct device * *alias_dev, const char *constalias_id, int * num_id);
- device that will be given as the regulator "consumer"
- List of supply names or regulator IDs
- device that should be used to lookup the supply
- List of supply names or regulator IDs that should be used to lookup the supply
- Number of aliases to register
return 0 on success, an errno on failure.
This helper function allows drivers to register several supply aliases in one operation. If any of the aliases cannot be registered any aliases that were registered will be removed before returning to the caller.
Liam Girdwood <lrg [at] slimlogic.co.uk>