usb: dwc2: gadget: use | instead of + for bitmasks
authorFelipe Balbi <balbi@ti.com>
Tue, 30 Jun 2015 01:17:22 +0000 (20:17 -0500)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Jul 2015 14:59:17 +0000 (09:59 -0500)
commit5a350d53f4c4784cf6bb4d94e7b8d76ca4f96e9f
tree11111aca309267db1a2f9b8cbe13cc2e9fe32db7
parent5ea75095fe6d683900ccc674fcac375e7df68005
usb: dwc2: gadget: use | instead of + for bitmasks

It's just a lot clearer to use | operator instead of
+ operator.

Caught by coccicheck:

"
drivers/usb/dwc2/gadget.c:2883:26-27: WARNING: sum of probable
bitmasks, consider |
"

Cc: John Youn <John.Youn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c
This page took 0.024891 seconds and 5 git commands to generate.