]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc2: gadget: Use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 23 Jan 2018 15:45:31 +0000 (09:45 -0600)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:50 +0000 (10:47 +0200)
commitc1d5df69f55b997b327e68c24be43cf6686304bb
treee3f62be078f16c45f8b08eb836afb87ddfc1273c
parent88b02f2cb1e13e1ab161c5cb2d5c69f76fe05be2
usb: dwc2: gadget: Use true and false for boolean values

Assign true or false to boolean variables instead of an integer value.

This issue was detected with the help of Coccinelle.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c