[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190830071740.4267-1-brgl@bgdev.pl>
Date: Fri, 30 Aug 2019 09:17:36 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Jens Axboe <axboe@...nel.dk>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
JC Kuo <jckuo@...dia.com>,
Kishon Vijay Abraham I <kishon@...com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Mathias Nyman <mathias.nyman@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-ide@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
Bartosz Golaszewski <bgolaszewski@...libre.com>
Subject: [PATCH 0/4] regulator: add and use a helper for setting supply names
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
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(-)
--
2.21.0
Powered by blists - more mailing lists