SysTutorials

Linux Manual Pages › Section 9

regulator_register_supply_alias(9)

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.

Authors

Liam Girdwood <lrg [at] slimlogic.co.uk>

Author.

Mark Brown <broonie [at] opensource.wolfsonmicro.com>
Wolfson Microelectronics,

  

Author.

Copyright