From: Julia Lawall <Julia.Lawall@lip6.fr>
To: Felipe Balbi <balbi@kernel.org>
Cc: kernel-janitors@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/8] usb: gadget: udc: reduce indentation
Date: Sun, 30 Dec 2018 16:53:08 +0100 [thread overview]
Message-ID: <1546185195-25676-2-git-send-email-Julia.Lawall@lip6.fr> (raw)
In-Reply-To: <1546185195-25676-1-git-send-email-Julia.Lawall@lip6.fr>
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.
Found with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
---
drivers/usb/gadget/udc/snps_udc_core.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers/usb/gadget/udc/snps_udc_core.c
index d4da47f4f6f4..3fcded31405a 100644
--- a/drivers/usb/gadget/udc/snps_udc_core.c
+++ b/drivers/usb/gadget/udc/snps_udc_core.c
@@ -947,15 +947,14 @@ static int prep_dma(struct udc_ep *ep, struct udc_request *req, gfp_t gfp)
UDC_DMA_STP_STS_BS_HOST_READY,
UDC_DMA_STP_STS_BS);
-
- /* clear NAK by writing CNAK */
- if (ep->naking) {
- tmp = readl(&ep->regs->ctl);
- tmp |= AMD_BIT(UDC_EPCTL_CNAK);
- writel(tmp, &ep->regs->ctl);
- ep->naking = 0;
- UDC_QUEUE_CNAK(ep, ep->num);
- }
+ /* clear NAK by writing CNAK */
+ if (ep->naking) {
+ tmp = readl(&ep->regs->ctl);
+ tmp |= AMD_BIT(UDC_EPCTL_CNAK);
+ writel(tmp, &ep->regs->ctl);
+ ep->naking = 0;
+ UDC_QUEUE_CNAK(ep, ep->num);
+ }
}
next prev parent reply other threads:[~2018-12-30 16:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-30 15:53 [PATCH 0/8] reduce indentation Julia Lawall
2018-12-30 15:53 ` Julia Lawall [this message]
2018-12-30 15:53 ` [PATCH 2/8] net: ena: " Julia Lawall
2018-12-30 15:53 ` [PATCH 3/8] i40e: increase indentation Julia Lawall
2019-01-03 23:58 ` Jeff Kirsher
2019-01-04 0:37 ` David Miller
2019-01-04 0:47 ` Jeff Kirsher
2019-01-11 18:44 ` [Intel-wired-lan] " Bowers, AndrewX
2018-12-30 15:53 ` [PATCH 4/8] firmware: stratix10-svc: reduce indentation Julia Lawall
2018-12-30 15:53 ` [PATCH 5/8] staging: rtl8192e: " Julia Lawall
2018-12-30 15:53 ` [PATCH 6/8] scsi: pm80xx: " Julia Lawall
2019-01-02 7:27 ` Jinpu Wang
2019-01-04 6:01 ` Martin K. Petersen
2018-12-30 15:53 ` [PATCH 7/8] drm/msm/dsi: " Julia Lawall
2018-12-30 15:53 ` [PATCH 8/8] iommu/msm: " Julia Lawall
2019-01-11 11:25 ` Joerg Roedel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1546185195-25676-2-git-send-email-Julia.Lawall@lip6.fr \
--to=julia.lawall@lip6.fr \
--cc=balbi@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).