usb: constify struct device_type usage
Get series with b4
b4 am [email protected] change-id 20240218-device_cleanup-usb-98fac2ef0160Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | usb: typec: constify the struct device_type usagedrivers/ | +15 | 1 reply | |
| 2/4 | usb: phy: constify the struct device_type usagedrivers/ | +1 | 0 replies | |
| 3/4 | usb: gadget: constify the struct device_type usagedrivers/ | +1 | 0 replies | |
| 4/4 | usb: core: constify the struct device_type usagedrivers/ drivers/ drivers/ +2 more | +8 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Heikki Krogerus |
|---|---|
| 1/4 | A-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] usb: constify struct device_type usage
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/[email protected]/
---
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,
Signature · 1 line
Ricardo B. Marliere <[email protected]>