aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorPawel Laszczak <[email protected]>2019-08-26 11:19:29 +0000
committerFelipe Balbi <[email protected]>2019-08-29 07:55:13 +0000
commitf72429fc88b5f48ee9ff2617224bbe098e40e86f (patch)
tree173349dd49603df9f3fcd8d1646ed5531a3bbc33 /drivers/usb/cdns3/cdns3-pci-wrap.c
parentusb: common: Patch simplify usb_decode_set_clear_feature function. (diff)
downloadkernel-f72429fc88b5f48ee9ff2617224bbe098e40e86f.tar.gz
kernel-f72429fc88b5f48ee9ff2617224bbe098e40e86f.zip
usb: common: Simplify usb_decode_get_set_descriptor function.
Patch moves switch responsible for decoding descriptor type outside snprintf. It improves code readability a little. Signed-off-by: Pawel Laszczak <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions