Name

regulator_register — register regulator

Synopsis

struct regulator_dev * regulator_register (const struct regulator_desc * regulator_desc,
 const struct regulator_config * cfg);
 

Arguments

regulator_desc

regulator to register

cfg

runtime configuration for regulator

Description

Called by regulator drivers to register a regulator. Returns a valid pointer to struct regulator_dev on success or an ERR_PTR on error.