regulator: add and use a helper for setting supply names
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | regulator: provide regulator_bulk_set_supply_names()drivers/ include/ | +33 | 1 reply | |
| 2/4 | ahci: tegra: use regulator_bulk_set_supply_names()drivers/ | +3 | 0 replies | |
| 3/4 | phy: tegra: use regulator_bulk_set_supply_names()drivers/ | +3 | 0 replies | |
| 4/4 | usb: host: xhci-tegra: use regulator_bulk_set_supply_names()drivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] regulator: add and use a helper for setting supply names
From: Bartosz Golaszewski <[email protected]>
There are ~80 users of regulator bulk APIs that set the supply names in a for loop before using the bulk helpers.
This series proposes to add a helper function for setting supply names and uses it in a couple tegra drivers. If accepted: a coccinelle script should be easy to develop that would address this in other drivers.
Bartosz Golaszewski (4):
regulator: provide regulator_bulk_set_supply_names()
ahci: tegra: use regulator_bulk_set_supply_names()
phy: tegra: use regulator_bulk_set_supply_names()
usb: host: xhci-tegra: use regulator_bulk_set_supply_names()
drivers/ata/ahci_tegra.c | 6 +++--- drivers/phy/tegra/xusb.c | 6 +++--- drivers/regulator/helpers.c | 21 +++++++++++++++++++++ drivers/usb/host/xhci-tegra.c | 5 +++-- include/linux/regulator/consumer.h | 12 ++++++++++++ 5 files changed, 42 insertions(+), 8 deletions(-)
Signature · 1 line
2.21.0