aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/f_mass_storage.c
AgeCommit message (Collapse)AuthorFilesLines
2014-09-02usb: gadget: f_mass_storage: simplify start_transfer slightlyMichal Nazarewicz1-14/+13
Flatten the start_transfer function by reversing the if condition and returning early out of the function if everything went fine. It makes the function look less complicated, at least to me, and easier to understand. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-07-16usb: gadget: Gadget directory cleanup - group usb functionsAndrzej Pietrasiewicz1-0/+3668
The drivers/usb/gadget directory contains many files. Files which are related can be distributed into separate directories. This patch moves the USB functions implementations into a separate directory. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>