Constify a number of static attribute_group structs. Typically, the structs either have their address stored in an array of pointers to const attribute_group or have their address passed to functions that have pointers to const attribute_group structs as input arguments. With these patches applied, all static struct attribute_group in drivers/usb are const. Done with the help of coccinelle. Rikard Falkeborn (3): USB: core: Constify static attribute_group structs usb: typec: Constify static attribute_group structs usb: common: ulpi: Constify static attribute_group struct drivers/usb/common/ulpi.c | 2 +- drivers/usb/core/endpoint.c | 2 +- drivers/usb/core/port.c | 4 ++-- drivers/usb/core/sysfs.c | 14 +++++++------- drivers/usb/typec/class.c | 8 ++++---- 5 files changed, 15 insertions(+), 15 deletions(-) -- 2.29.2