mbox series

[0/4] usb: constify struct device_type usage

Message ID 20240218-device_cleanup-usb-v1-0-77423c4da262@marliere.net (mailing list archive)
Headers show
Series usb: constify struct device_type usage | expand

Message

Ricardo B. Marliere Feb. 18, 2024, 7:18 p.m. UTC
This is a simple and straight forward cleanup series that makes all device
types in the net subsystem constants. This has been possible since 2011 [1]
but not all occurrences were cleaned.

---
[1] https://lore.kernel.org/all/1305850262-9575-5-git-send-email-gregkh@suse.de/

Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>

---
Ricardo B. Marliere (4):
      usb: typec: constify the struct device_type usage
      usb: phy: constify the struct device_type usage
      usb: gadget: constify the struct device_type usage
      usb: core: constify the struct device_type usage

 drivers/usb/core/endpoint.c           |  2 +-
 drivers/usb/core/message.c            |  2 +-
 drivers/usb/core/port.c               |  2 +-
 drivers/usb/core/usb.c                |  2 +-
 drivers/usb/core/usb.h                |  8 ++++----
 drivers/usb/gadget/function/u_ether.c |  2 +-
 drivers/usb/phy/phy.c                 |  2 +-
 drivers/usb/typec/pd.c                | 30 +++++++++++++++---------------
 8 files changed, 25 insertions(+), 25 deletions(-)
---
base-commit: cf92b9df3dcf45eab0fe3fcf9e97ce55c31c48c0
change-id: 20240218-device_cleanup-usb-98fac2ef0160

Best regards,