struct regulator_dev * regulator_register (
|const struct regulator_desc * regulator_desc, |
| ||const struct regulator_config * cfg|
regulator to register
runtime configuration for regulator
Called by regulator drivers to register a regulator.
Returns a valid pointer to struct regulator_dev on success
ERR_PTR on error.