Skip to content

gpio: More cleanups to legacy header

Andy Shevchenko linux-gpio lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2gpio: Remove unused 'struct gpio' definitioninclude/linux/gpio.h+0 -121 reply
2/2gpiolib: Move GPIO_DYNAMIC_* constants to its only userdrivers/gpio/gpiolib.c include/linux/gpio.h+13 -131 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLinus Walleij
1/2R-b
2/2R-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 v1 0/2] gpio: More cleanups to legacy header

If I'm not missing anything the 'struct gpio' is not used and GPIO_DYNAMIC_* constants nowadays are private to gpiolib.c. Hence this series.

Note, this seems already the case for the upcoming v6.16 cycle, hence I would like to route these patches as fixes to it to prevent any possible use of the mentioned definitions in a new code.

Andy Shevchenko (2):
gpio: Remove unused 'struct gpio' definition
gpiolib: Move GPIO_DYNAMIC_* constants to its only user

 drivers/gpio/gpiolib.c | 13 +++++++++++++
 include/linux/gpio.h   | 25 -------------------------
 2 files changed, 13 insertions(+), 25 deletions(-)
Signature · 1 line
2.47.2