Skip to content

regulator: switch to using [devm_]fwnode_gpiod_get_index

Dmitry Torokhov linux-samsung-soc lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7regulator: s5m8767: switch to using devm_fwnode_gpiod_getdrivers/regulator/s5m8767.c+3 -41 reply
2/7regulator: slg51000: switch to using fwnode_gpiod_get_indexdrivers/regulator/slg51000-regulator.c+5 -81 reply
3/7regulator: tps65090: switch to using devm_fwnode_gpiod_getdrivers/regulator/tps65090-regulator.c+15 -111 reply
4/7regulator: s2mps11: switch to using devm_fwnode_gpiod_getdrivers/regulator/s2mps11.c+3 -41 reply
5/7regulator: da9211: switch to using devm_fwnode_gpiod_getdrivers/regulator/da9211-regulator.c+6 -62 replies
6/7regulator: tps65132: switch to using devm_fwnode_gpiod_get()drivers/regulator/tps65132-regulator.c+10 -71 reply
7/7regulator: max77686: switch to using fwnode_gpiod_get_indexdrivers/regulator/max77686-regulator.c+3 -21 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus WalleijAdam Thomson
SeriesR-b
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b A-b A-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] regulator: switch to using [devm_]fwnode_gpiod_get_index

This series swiches regulator drivers form using [devm_]gpiod_get_from_of_node() that is scheduled to be removed in favor of [devm_]fwnode_gpiod_get_index() that behaves more like standard [devm_]gpiod_get_index() and will potentially handle secondary software nodes in cases we need to augment platform firmware.

This depends on the new code that can be found in ib-fwnode-gpiod-get-index immutable branch of Linus' Walleij tree:

git pull git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git ib-fwnode-gpiod-get-index

I hope that it would be possible to pull in this immutable branch and not wait until after 5.5 merge window.

Thanks!

Dmitry Torokhov (7):
regulator: s5m8767: switch to using devm_fwnode_gpiod_get
regulator: slg51000: switch to using fwnode_gpiod_get_index
regulator: tps65090: switch to using devm_fwnode_gpiod_get
regulator: s2mps11: switch to using devm_fwnode_gpiod_get
regulator: da9211: switch to using devm_fwnode_gpiod_get
regulator: tps65132: switch to using devm_fwnode_gpiod_get()
regulator: max77686: switch to using fwnode_gpiod_get_index

 drivers/regulator/da9211-regulator.c   | 12 ++++++------
 drivers/regulator/max77686-regulator.c |  5 +++--
 drivers/regulator/s2mps11.c            |  7 +++----
 drivers/regulator/s5m8767.c            |  7 +++----
 drivers/regulator/slg51000-regulator.c | 13 +++++--------
 drivers/regulator/tps65090-regulator.c | 26 +++++++++++++++-----------
 drivers/regulator/tps65132-regulator.c | 17 ++++++++++-------
 7 files changed, 45 insertions(+), 42 deletions(-)
Signature · 1 line
2.23.0.581.g78d2f28ef7-goog