[PATCH 0/2] regulator: Couple of fixes for of_regulator_bulk_get_all() API

From: Manivannan Sadhasivam
Date: Sat Jan 04 2025 - 06:51:17 EST


Hi,

This series fixes a couple of issues in the consumer header file identified
while using the of_regulator_bulk_get_all() API in the PCI pwrctrl driver [1].
I'm sending the fixes separately since these are independent from that series.

- Mani

[1] https://lore.kernel.org/linux-pci/20241231-pci-pwrctrl-slot-v2-0-6a15088ba541@xxxxxxxxxx/

Manivannan Sadhasivam (2):
regulator: Guard of_regulator_bulk_get_all() with CONFIG_OF
regulator: Move OF_ API declarations/definitions outside
CONFIG_REGULATOR

include/linux/regulator/consumer.h | 77 +++++++++++++-----------------
1 file changed, 32 insertions(+), 45 deletions(-)

--
2.25.1