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@xxxxxxx/ Signed-off-by: Ricardo B. Marliere <ricardo@xxxxxxxxxxxx> --- 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, -- Ricardo B. Marliere <ricardo@xxxxxxxxxxxx>