Scroll to navigation

DEVM_REGULATOR_GET(9) API reference DEVM_REGULATOR_GET(9)

NAME

devm_regulator_get - 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 <lrg@slimlogic.co.uk>

Author.

Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,

Author.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10