Skip to content

Commit

Permalink
usb: gadget: udc: atmel: Fix indenting
Browse files Browse the repository at this point in the history
Fix the fallout of the conversion to GPIO descriptors in 3df0340.

Acked-by: Ludovic Desroches <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: Romain Izard <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
  • Loading branch information
romain-izard-pro authored and Felipe Balbi committed May 15, 2018
1 parent 2f8519f commit 4d4ca01
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions drivers/usb/gadget/udc/atmel_usba_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2277,15 +2277,15 @@ static int usba_udc_probe(struct platform_device *pdev)
if (udc->vbus_pin) {
irq_set_status_flags(gpiod_to_irq(udc->vbus_pin), IRQ_NOAUTOEN);
ret = devm_request_threaded_irq(&pdev->dev,
gpiod_to_irq(udc->vbus_pin), NULL,
usba_vbus_irq_thread, USBA_VBUS_IRQFLAGS,
"atmel_usba_udc", udc);
if (ret) {
udc->vbus_pin = NULL;
dev_warn(&udc->pdev->dev,
"failed to request vbus irq; "
"assuming always on\n");
}
gpiod_to_irq(udc->vbus_pin), NULL,
usba_vbus_irq_thread, USBA_VBUS_IRQFLAGS,
"atmel_usba_udc", udc);
if (ret) {
udc->vbus_pin = NULL;
dev_warn(&udc->pdev->dev,
"failed to request vbus irq; "
"assuming always on\n");
}
}

ret = usb_add_gadget_udc(&pdev->dev, &udc->gadget);
Expand Down

0 comments on commit 4d4ca01

Please sign in to comment.