---
name: "regulator_bulk_disable"
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_disable"
---

# regulator\_bulk\_disable(9)

disable multiple regulator consumers

## NAME

regulator\_bulk\_disable - disable multiple regulator consumers

## SYNOPSIS

**int regulator\_bulk\_disable(int** *num\_consumers***, struct regulator\_bulk\_data \*** *consumers***);**

## ARGUMENTS

*num\_consumers*

Number of consumers

*consumers*

Consumer data; clients are stored here. *return* 0 on success, an errno on failure

## DESCRIPTION

This convenience API allows consumers to disable multiple regulator clients in a single API call. If any consumers cannot be disabled then any others that were disabled will be enabled again prior to return.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
