mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
usb: gadget: udc: atmel: Fix indenting
Fix the fallout of the conversion to GPIO descriptors in 3df0340810
.
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
parent
2f8519f6ed
commit
4d4ca0139c
1 changed files with 9 additions and 9 deletions
|
@ -2277,15 +2277,15 @@ static int usba_udc_probe(struct platform_device *pdev)
|
||||||
if (udc->vbus_pin) {
|
if (udc->vbus_pin) {
|
||||||
irq_set_status_flags(gpiod_to_irq(udc->vbus_pin), IRQ_NOAUTOEN);
|
irq_set_status_flags(gpiod_to_irq(udc->vbus_pin), IRQ_NOAUTOEN);
|
||||||
ret = devm_request_threaded_irq(&pdev->dev,
|
ret = devm_request_threaded_irq(&pdev->dev,
|
||||||
gpiod_to_irq(udc->vbus_pin), NULL,
|
gpiod_to_irq(udc->vbus_pin), NULL,
|
||||||
usba_vbus_irq_thread, USBA_VBUS_IRQFLAGS,
|
usba_vbus_irq_thread, USBA_VBUS_IRQFLAGS,
|
||||||
"atmel_usba_udc", udc);
|
"atmel_usba_udc", udc);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
udc->vbus_pin = NULL;
|
udc->vbus_pin = NULL;
|
||||||
dev_warn(&udc->pdev->dev,
|
dev_warn(&udc->pdev->dev,
|
||||||
"failed to request vbus irq; "
|
"failed to request vbus irq; "
|
||||||
"assuming always on\n");
|
"assuming always on\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = usb_add_gadget_udc(&pdev->dev, &udc->gadget);
|
ret = usb_add_gadget_udc(&pdev->dev, &udc->gadget);
|
||||||
|
|
Loading…
Add table
Reference in a new issue