usb: gadget: tcm: simplify attribute store function
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Fri, 11 Dec 2015 15:06:19 +0000 (16:06 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 21 Dec 2015 03:40:30 +0000 (19:40 -0800)
commite2ffb77a14dbf6a8b47cfec750629ffc2b423e6e
tree82582ab46b26f31d412c1d62b1c9fc99f5086512
parentc8afb616499e204440038556a5733338e215ce7f
usb: gadget: tcm: simplify attribute store function

Simplify function code.

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/legacy/tcm_usb_gadget.c