devm_regulator_get(9) Resource managed regulator_get

SYNOPSIS

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

ARGUMENTS

dev

device for regulator "consumer"

id

Supply name or regulator ID.

DESCRIPTION

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

AUTHORS

Liam Girdwood <[email protected]>

Author.

Mark Brown <[email protected]>
Wolfson Microelectronics,
      
     

Author.

COPYRIGHT