]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: udc: pxa: remove unused platform_data
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Apr 2026 14:32:10 +0000 (16:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Apr 2026 16:18:19 +0000 (10:18 -0600)
commit25bd55f46032656012eecdc6eabd62f2685a2ccc
tree800aaac0795ac8d88942e07eea9bec017b8e7d81
parent0677deacad502d11d86c1ba5c635aa733803ab9b
usb: udc: pxa: remove unused platform_data

None of the remaining boards put useful data into the platform_data
structures, so effectively this only works with DT based probing.

Remove all code that references this data, to stop using the legacy
gpiolib interfaces. The pxa27x version already supports gpio
descriptors, while the pxa25x version now does it the same way.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260427143300.2887692-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-pxa/devices.c
arch/arm/mach-pxa/gumstix.c
arch/arm/mach-pxa/udc.h [deleted file]
drivers/usb/gadget/udc/pxa25x_udc.c
drivers/usb/gadget/udc/pxa25x_udc.h
drivers/usb/gadget/udc/pxa27x_udc.c
drivers/usb/gadget/udc/pxa27x_udc.h
include/linux/platform_data/pxa2xx_udc.h