---
name: "regulator_bulk_get"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/regulator_bulk_get"
---

# regulator\_bulk\_get(9)

get multiple regulator consumers

## NAME

regulator\_bulk\_get - get multiple regulator consumers

## SYNOPSIS

**int regulator\_bulk\_get(struct device \*** *dev***, int** *num\_consumers***, struct regulator\_bulk\_data \*** *consumers***);**

## ARGUMENTS

*dev*

Device to supply

*num\_consumers*

Number of consumers to register

*consumers*

Configuration of consumers; clients are stored here.

## DESCRIPTION

*return* 0 on success, an errno on failure.

This helper function allows drivers to get several regulator consumers in one operation. If any of the regulators cannot be acquired then any regulators that were allocated will be freed before returning to the caller.

## AUTHORS

**Liam Girdwood** \<lrg@slimlogic.co.uk\>

Author.

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

Author.

## COPYRIGHT
