Thinh Nguyen wrote: > Different controller IPs check different HW parameters for MDWIDTH. > To help with maintainability, create a helper function to consolidate > the logic in a single place. > > Signed-off-by: Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx> > --- > drivers/usb/dwc3/core.h | 19 +++++++++++++++++-- > drivers/usb/dwc3/debugfs.c | 12 ++++-------- > drivers/usb/dwc3/gadget.c | 16 +++++----------- > 3 files changed, 26 insertions(+), 21 deletions(-) > Sorry for the noise and please ignore the duplicate patch... Thanks, Thinh