Name

regulator_register_supply_alias — Provide device alias for supply lookup

Synopsis

int regulator_register_supply_alias (struct device * dev,
 const char * id,
 struct device * alias_dev,
 const char * alias_id);
 

Arguments

dev

device that will be given as the regulator consumer

id

Supply name or regulator ID

alias_dev

device that should be used to lookup the supply

alias_id

Supply name or regulator ID that should be used to lookup the supply

Description

All lookups for id on dev will instead be conducted for alias_id on alias_dev.