Skip to contentSkip to conversation

staging: emxx_udc: Fix the format of a parameter list

PATCH New Frank A. Cancio Bello 1 participant 1 message Oct 28, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: emxx_udc: Fix the format of a parameter list

The closing parenthesis of a multiline parameter list looks better in the same line as the last parameter.

The comma that separates parameters should be at the end of the line.

---
This could be the last of my simple patches before start sending patchsets.

 drivers/staging/emxx_udc/emxx_udc.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/emxx_udc/emxx_udc.c +2 -3
index 9e0c19eb867c..e899130aedce 100644
@@ -1072,9 +1072,8 @@ static int _nbu2ss_epn_in_pio(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep,
 		if (i_word_length > 0) {
 			for (i = 0; i < i_word_length; i++) {
 				_nbu2ss_writel(
-					&preg->EP_REGS[ep->epnum - 1].EP_WRITE
-					, p_buf_32->dw
-				);
+					&preg->EP_REGS[ep->epnum - 1].EP_WRITE,
+					p_buf_32->dw);
 
 				p_buf_32++;
 			}
Signature · 1 line
2.17.1