Skip to content

gpiolib: eventual of_node retirement

Andy Shevchenko linux-acpi linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 5 repliesIn review

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gpiolib: Introduce gpio_device_get() and gpio_device_put()drivers/gpio/gpiolib-cdev.c drivers/gpio/gpiolib.c drivers/gpio/gpiolib.h+25 -200 replies
2/3gpiolib: Get rid of not used of_node memberdrivers/gpio/gpiolib-acpi.c drivers/gpio/gpiolib-acpi.h drivers/gpio/gpiolib-of.c +3 more+8 -540 replies
3/3gpiolib: sort header inclusion alphabeticallydrivers/gpio/gpiolib.c+18 -170 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus WalleijThierry Reding
SeriesR-b T-b
1/3
2/3
3/3

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

Read the v4 thread

Cover letter [rft, PATCH v4 0/3] gpiolib: eventual of_node retirement

Now that all GPIO library users are converted to use fwnode, Drop redundant field from struct gpio_chip and accompanying code.

Bart, I prefer this series to go as soon as possible if you have no objection. Or even as v6.2 material.

Thierry, can you please test it once again, so we will be sure there is no breakage for OF platforms?

Cc Thierry Reding <[email protected]>

v4: added couple of additional patches to the bundle that missed
the merge window by one or another reason

v3: rebased against latest Linux Next: expected not to fail now
(Also keeping in mind Thierry's report, so reworked a bit)

v2: resent against latest Linux Next: expected not to fail now
(Linux Next has no more users of of_node member of gpio_chip)

v1: to test for now (using CIs and build bots) what is left unconverted
(Expected to fail in some configurations!)

Andy Shevchenko (3):
gpiolib: Introduce gpio_device_get() and gpio_device_put()
gpiolib: Get rid of not used of_node member
gpiolib: sort header inclusion alphabetically

 drivers/gpio/gpiolib-acpi.c | 10 -------
 drivers/gpio/gpiolib-acpi.h |  4 ---
 drivers/gpio/gpiolib-cdev.c | 21 ++++++-------
 drivers/gpio/gpiolib-of.c   | 25 ++++------------
 drivers/gpio/gpiolib-of.h   |  5 ----
 drivers/gpio/gpiolib.c      | 60 +++++++++++++++++--------------------
 drivers/gpio/gpiolib.h      | 10 +++++++
 include/linux/gpio/driver.h |  7 -----
 8 files changed, 51 insertions(+), 91 deletions(-)

base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2

Signature · 1 line
2.35.1