summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/udc/bdc
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-01-22 14:26:54 +0000
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-02-07 13:14:51 +0200
commit1ff767bfa54a97f4289cd0dad22d404b53a6d8e3 (patch)
treebf4dc4f45bf02bccb82d5f79be7f1c21f2c78868 /drivers/usb/gadget/udc/bdc
parent97311c8f8b6e26d5ba6508f0df430ad80fc59327 (diff)
usb: gadget: fix various indentation issues
There are a bunch of various indentation issues, clean these up. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/udc/bdc')
-rw-r--r--drivers/usb/gadget/udc/bdc/bdc_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/udc/bdc/bdc_cmd.c b/drivers/usb/gadget/udc/bdc/bdc_cmd.c
index 6305bf2c8b59..44c2a5eef785 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_cmd.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_cmd.c
@@ -311,8 +311,8 @@ int bdc_ep_clear_stall(struct bdc *bdc, int epnum)
/* if the endpoint it not stallled */
if (!(ep->flags & BDC_EP_STALL)) {
ret = bdc_ep_set_stall(bdc, epnum);
- if (ret)
- return ret;
+ if (ret)
+ return ret;
}
}
/* Preserve the seq number for ep0 only */