
Dear Pantelis Antoniou,
Call usb_gadget_connect/usb_gadget_disconnect in g_dnl_bind/g_dnl_unbind.
Signed-off-by: Pantelis Antoniou panto@antoniou-consulting.com
[...]
u-boot$ ./tools/checkpatch.pl [PATCH\ 8_9]\ Issue\ connect_disconnect\ as\ appropriate.mbox WARNING: line over 80 characters #57: FILE: drivers/usb/gadget/g_dnl.c:88: + debug("%s: calling usb_gadget_disconnect for controller '%s'\n", shortname, gadget->name);
WARNING: line over 80 characters #67: FILE: drivers/usb/gadget/g_dnl.c:160: + debug("%s: calling usb_gadget_connect for controller '%s'\n", shortname, gadget->name);
total: 0 errors, 2 warnings, 21 lines checked
NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE
[PATCH 8_9] Issue connect_disconnect as appropriate.mbox has style problems, please review.
If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.
... fix the other patches too
Best regards, Marek Vasut