commit | a622ee9972aa42d4dbce3c62df8b19b2ba23d5c1 | [log] [tgz] |
---|---|---|
author | Lu Baolu <baolu.lu@linux.intel.com> | Tue Nov 28 12:46:28 2017 +0800 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Dec 11 12:36:50 2017 +0200 |
tree | bb0c93422b4463de3199665dcc1a3953ce0147ab | |
parent | 204ec1af6257a52fb80f43317f949b345040f9d1 [diff] |
usb: gadget: u_serial: Use kfifo instead of homemade circular buffer The kernel FIFO implementation, kfifo, provides interfaces to manipulate a first-in-first-out circular buffer. Use kfifo instead of the homemade one to make the code more concise and readable. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>