diff options
author | Pawel Laszczak <pawell@cadence.com> | 2019-07-02 15:38:00 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-07-03 09:46:03 +0200 |
commit | c2af6b07803ebd099950cd608f404a7bff9037b2 (patch) | |
tree | b3a44e54d8b0e4348a406a593514f76e3d127e4d /drivers/usb/Makefile | |
parent | usb:gadget Patch simplify usb_decode_set_clear_feature function. (diff) | |
download | linux-c2af6b07803ebd099950cd608f404a7bff9037b2.tar.xz linux-c2af6b07803ebd099950cd608f404a7bff9037b2.zip |
usb:gadget 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>
Diffstat (limited to 'drivers/usb/Makefile')
0 files changed, 0 insertions, 0 deletions