usb: gadget: fastboot: pass struct f_fastboot * around
The different fastboot commands mostly do not need the USB endpoint
or the USB request, they need the context data structure struct
f_fastboot * instead, so rather pass this one around between the
different functions.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f4b5d3e commit bb89b4eedcfb24f3ff776800c0de56869d4c432b
@Sascha Hauer Sascha Hauer authored on 26 Jan 2018
Showing 1 changed file
View
drivers/usb/gadget/f_fastboot.c