]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: f_tcm: remove redundant singleton
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Fri, 11 Dec 2015 15:06:24 +0000 (16:06 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 21 Dec 2015 03:40:41 +0000 (19:40 -0800)
commitf7e9a0e7f7f6f5425cb63b175cc99157a987b00e
tree1fc328161c1ef31f99b0ea382537bb3450d10d82
parentb984b13853dce266be6bb7bd396e127ff994724d
usb: gadget: f_tcm: remove redundant singleton

The only instance is guaranteed with TPG_INSTANCES defined to 1.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/usb/gadget/function/f_tcm.c
drivers/usb/gadget/function/tcm.h