this allow generate better function and variable name, no function change. v1: only change the macros v2: fix f_sourcesink.c build issue report by kernel test robot <lkp@xxxxxxxxx> v3: fix f_tcm.c build issue report by kernel test robot <lkp@xxxxxxxxx>, fix comment from Greg, clean some code of f_sourcesink.c. thanks to kernel test robot <lkp@xxxxxxxxx>. Linyu Yuan (4): usb: gadget: f_mass_storage: fix warning of -Werror=unused-but-set-variable usb: gadget: f_sourcesink: use DECLARE_USB_FUNCTION_INIT() usb: gadget: f_loopback: use DECLARE_USB_FUNCTION_INIT() macro usb: gadget: add '_' in DECLARE_USB_FUNCTION(_INIT) macros drivers/usb/gadget/function/f_loopback.c | 12 +----------- drivers/usb/gadget/function/f_mass_storage.c | 2 +- drivers/usb/gadget/function/f_sourcesink.c | 22 +--------------------- drivers/usb/gadget/function/f_tcm.c | 6 +++--- drivers/usb/gadget/function/g_zero.h | 3 --- include/linux/usb/composite.h | 14 +++++++------- 6 files changed, 13 insertions(+), 46 deletions(-) -- 2.7.4