mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] gpio: More cleanups to legacy header
@ 2025-05-31 19:55 Andy Shevchenko
  2025-05-31 19:55 ` [PATCH v1 1/2] gpio: Remove unused 'struct gpio' definition Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andy Shevchenko @ 2025-05-31 19:55 UTC (permalink / raw)
  To: Bartosz Golaszewski, Andy Shevchenko, linux-gpio, linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski

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(-)

-- 
2.47.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-06-10  8:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-31 19:55 [PATCH v1 0/2] gpio: More cleanups to legacy header Andy Shevchenko
2025-05-31 19:55 ` [PATCH v1 1/2] gpio: Remove unused 'struct gpio' definition Andy Shevchenko
2025-06-05 13:31   ` Linus Walleij
2025-05-31 19:55 ` [PATCH v1 2/2] gpiolib: Move GPIO_DYNAMIC_* constants to its only user Andy Shevchenko
2025-06-05 13:32   ` Linus Walleij
2025-06-10  8:11 ` [PATCH v1 0/2] gpio: More cleanups to legacy header Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®