Man Page: devm_regulator_bulk_get
Operating Environment: centos
Section: 9
DEVM_REGULATOR_BULK_(9) API reference DEVM_REGULATOR_BULK_(9)NAMEdevm_regulator_bulk_get - managed get multiple regulator consumersSYNOPSISint devm_regulator_bulk_get(struct device * dev, int num_consumers, struct regulator_bulk_data * consumers);ARGUMENTSdev Device to supply num_consumers Number of consumers to register consumers Configuration of consumers; clients are stored here.DESCRIPTIONreturn 0 on success, an errno on failure. This helper function allows drivers to get several regulator consumers in one operation with management, the regulators will automatically be freed when the device is unbound. If any of the regulators cannot be acquired then any regulators that were allocated will be freed before returning to the caller.AUTHORSLiam Girdwood <lrg@slimlogic.co.uk> Author. Mark Brown <broonie@opensource.wolfsonmicro.com> Wolfson Microelectronics, Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DEVM_REGULATOR_BULK_(9)