devm_regulator_get_optional(9) Resource managed regulator_get_optional

SYNOPSIS

struct regulator * devm_regulator_get_optional(struct device * dev, const char * id);

ARGUMENTS

dev

device for regulator "consumer"

id

Supply name or regulator ID.

DESCRIPTION

Managed regulator_get_optional. Regulators returned from this function are automatically regulator_put on driver detach. See regulator_get_optional for more information.

AUTHORS

Liam Girdwood <[email protected]>

Author.

Mark Brown <[email protected]>
Wolfson Microelectronics,
      
     

Author.

COPYRIGHT