]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: consumer.rst: document bulk operations
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Tue, 19 Aug 2025 04:25:43 +0000 (12:25 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 19 Aug 2025 15:52:48 +0000 (16:52 +0100)
commitec0be3cdf40b5302248f3fb27a911cc630e8b855
tree4d9cf7aae1437381e7d98293b537a40ad676a3cb
parentf7f804633c91f0fbf03eefbae39eec2205191a82
regulator: consumer.rst: document bulk operations

The current consumer documentation does not include bulk operations,
providing an example of how to acquire multiple regulators by calling
regulator_get() multiple times. That solution is valid and slightly
simpler for a small amount of regulators, but it does not scale well.

Document the bulk operations to get, enable and disable regulators.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20250819-reg_consumer_doc-v1-1-b631fc0d35a3@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/power/regulator/consumer.rst