Commit 10879aa21ca22bdc631336d203b1742b16f91a30
1 parent
d3f80c77ca
Exists in
master
and in
54 other branches
drivers/usb/gadget/pxa27x_udc.c: Coding Style cleanup
Commit bdbcdc89 "pxa: convert pxa27x_udc to use read and write functions" added a number of C++ comments. Fix these. Signed-off-by: Wolfgang Denk <wd@denx.de>
Showing 1 changed file with 2 additions and 3 deletions Side-by-side Diff
drivers/usb/gadget/pxa27x_udc.c
... | ... | @@ -195,12 +195,12 @@ |
195 | 195 | |
196 | 196 | for (i = 0; i < w; i++) { |
197 | 197 | data32[ep0_urb->actual_length / 4 + i] = readl(UDCDN(0)); |
198 | -// ep0_urb->actual_length += 4; | |
198 | + /* ep0_urb->actual_length += 4; */ | |
199 | 199 | } |
200 | 200 | |
201 | 201 | for (i = 0; i < b; i++) { |
202 | 202 | data8[ep0_urb->actual_length + w * 4 + i] = readb(UDCDN(0)); |
203 | -// ep0_urb->actual_length++; | |
203 | + /* ep0_urb->actual_length++; */ | |
204 | 204 | } |
205 | 205 | |
206 | 206 | ep0_urb->actual_length += n; |
... | ... | @@ -599,7 +599,6 @@ |
599 | 599 | |
600 | 600 | writel(tmp, UDCCN(ep_num)); |
601 | 601 | |
602 | - //usbdbg | |
603 | 602 | usbdbg("UDCCR%c = %x", 'A' + ep_num-1, readl(UDCCN(ep_num))); |
604 | 603 | usbdbg("UDCCSR%c = %x", 'A' + ep_num-1, readl(UDCCSN(ep_num))); |
605 | 604 | } |