usb: gadget: tcm: use strtobool for a boolean value
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Fri, 11 Dec 2015 15:06:18 +0000 (16:06 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 21 Dec 2015 03:40:28 +0000 (19:40 -0800)
commitc8afb616499e204440038556a5733338e215ce7f
tree3e69007493c4d8522bfb2418426d88ee001048dd
parent8c293509c8c351af13863a2f6867c9fe9d4025b3
usb: gadget: tcm: use strtobool for a boolean value

Simplify the function.

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