/** * regulator_register_always_on - register an always-on regulator with a fixed name * @id: platform device id * @name: name to be used for the regulator * @supplies: consumers for this regulator * @num_supplies: number of consumers * @uv: voltage in microvolts * * Return: Pointer to registered platform device, or %NULL if memory allocation fails.
*/ struct platform_device *regulator_register_always_on(int id, constchar *name, struct regulator_consumer_supply *supplies, int num_supplies, int uv)
{ struct fixed_regulator_data *data;
data = kzalloc(sizeof(*data), GFP_KERNEL); if (!data) return NULL;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.