[PATCH v1 0/2] gpiolib: get rid of devm_gpio_request()

Andy Shevchenko andriy.shevchenko at linux.intel.com
Sat May 31 14:21:37 PDT 2025


devm_gpio_request() is used by a single driver. Replace it there and
kill the legacy API. Assumed to be routed via GPIO tree.

Andy Shevchenko (2):
  usb: gadget: pxa25x_udc: Switch to use devm_gpio_request_one()
  gpiolib: Remove unused devm_gpio_request()

 .../driver-api/driver-model/devres.rst        |  1 -
 drivers/gpio/gpiolib-legacy.c                 | 38 -------------------
 drivers/usb/gadget/udc/pxa25x_udc.c           |  5 +--
 include/linux/gpio.h                          |  8 ----
 4 files changed, 2 insertions(+), 50 deletions(-)

-- 
2.47.2




More information about the linux-arm-kernel mailing list