Query: regulator_get
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
REGULATOR_GET(9) API reference REGULATOR_GET(9)NAMEregulator_get - lookup and obtain a reference to a regulator.SYNOPSISstruct regulator * regulator_get(struct device * dev, const char * id);ARGUMENTSdev device for regulator "consumer" id Supply name or regulator ID.DESCRIPTIONReturns a struct regulator corresponding to the regulator producer, or IS_ERR condition containing errno. Use of supply names configured via regulator_set_device_supply is strongly encouraged. It is recommended that the supply name used should match the name used for the supply and/or the relevant device pins in the datasheet.AUTHORSLiam Girdwood <lrg@slimlogic.co.uk> Author. Mark Brown <broonie@opensource.wolfsonmicro.com> Wolfson Microelectronics, Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 REGULATOR_GET(9)