commit | f72429fc88b5f48ee9ff2617224bbe098e40e86f | [log] [tgz] |
---|---|---|
author | Pawel Laszczak <pawell@cadence.com> | Mon Aug 26 12:19:29 2019 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Aug 29 10:55:13 2019 +0300 |
tree | 173349dd49603df9f3fcd8d1646ed5531a3bbc33 | |
parent | 010665b44d596d1b2aa0249b0e093fd3df774f6e [diff] |
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 <pawell@cadence.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>