usb: dwc2: Fix brace usage
authorJohn Youn <John.Youn@synopsys.com>
Wed, 18 Jan 2017 04:31:43 +0000 (20:31 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 24 Jan 2017 09:04:19 +0000 (11:04 +0200)
commit34c0887fde3489b10fb712ab0312ca735fc85dd4
treeeff51c1708e9760ba6f0528452684bd25f55fc01
parentab2832028f07f19da9587310d3a6978dc4a34d61
usb: dwc2: Fix brace usage

* Remove braces for one-line statements
* Add missing braces where another arm in if-statement uses braces

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/platform.c