struct regulator_init_data — regulator platform initialisation data.
struct regulator_init_data { const char * supply_regulator; struct regulation_constraints constraints; int num_consumer_supplies; struct regulator_consumer_supply * consumer_supplies; int (* regulator_init) (void *driver_data); void * driver_data; };
Parent regulator. Specified using the regulator name as it appears in the name field in sysfs, which can be explicitly set using the constraints field 'name'.
Constraints. These must be specified for the regulator to be usable.
Number of consumer device supplies.
Consumer device supply configuration.
Callback invoked when the regulator has been registered.
Data passed to regulator_init.