mbox series

[v1,0/2] gpio: More cleanups to legacy header

Message ID 20250531195801.3632110-1-andriy.shevchenko@linux.intel.com
Headers show
Series gpio: More cleanups to legacy header | expand

Message

Andy Shevchenko May 31, 2025, 7:55 p.m. UTC
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(-)