DEVM_REGULATOR_GET(9) API reference DEVM_REGULATOR_GET(9)NAMEdevm_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.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 DEVM_REGULATOR_GET(9)