regulator_bulk_enable (9) Linux Manual Page
regulator_bulk_enable – enable multiple regulator consumers
Synopsis
int regulator_bulk_enable(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 enable multiple regulator clients in a single API call. If any consumers cannot be enabled then any others that were enabled will be disabled again prior to return.
Authors
Liam Girdwood <lrg [at] slimlogic.co.uk>
- Author.
Mark Brown <broonie [at] opensource.wolfsonmicro.com>
Wolfson Microelectronics,
- Author.
