REGULATOR_BULK_REGIS(9) | API reference | REGULATOR_BULK_REGIS(9) |
NAME¶
regulator_bulk_register_supply_alias - register multiple aliases
SYNOPSIS¶
int regulator_bulk_register_supply_alias(struct device * dev, const char *const * id, struct device * alias_dev, const char *const * alias_id, int num_id);
ARGUMENTS¶
dev
id
alias_dev
alias_id
num_id
DESCRIPTION¶
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.
AUTHORS¶
Liam Girdwood <lrg@slimlogic.co.uk>
Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,
COPYRIGHT¶
March 2017 | Kernel Hackers Manual 4.10 |