Commit c75955d1 authored by Anjali Menon's avatar Anjali Menon Committed by Greg Kroah-Hartman

staging: emxx_udc: Alligned to match '('

Allignment matched to the open parenthesis to avoid the
check detected by the checkpatch.pl.

CHECK: Alignment should match open parenthesis
Signed-off-by: default avatarAnjali Menon <cse.anjalimenon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d0aaa57d
...@@ -3180,7 +3180,8 @@ static void __init nbu2ss_drv_ep_init(struct nbu2ss_udc *udc) ...@@ -3180,7 +3180,8 @@ static void __init nbu2ss_drv_ep_init(struct nbu2ss_udc *udc)
ep->ep.ops = &nbu2ss_ep_ops; ep->ep.ops = &nbu2ss_ep_ops;
usb_ep_set_maxpacket_limit(&ep->ep, usb_ep_set_maxpacket_limit(&ep->ep,
i == 0 ? EP0_PACKETSIZE : EP_PACKETSIZE); i == 0 ? EP0_PACKETSIZE
: EP_PACKETSIZE);
list_add_tail(&ep->ep.ep_list, &udc->gadget.ep_list); list_add_tail(&ep->ep.ep_list, &udc->gadget.ep_list);
INIT_LIST_HEAD(&ep->queue); INIT_LIST_HEAD(&ep->queue);
...@@ -3273,10 +3274,7 @@ static int nbu2ss_drv_probe(struct platform_device *pdev) ...@@ -3273,10 +3274,7 @@ static int nbu2ss_drv_probe(struct platform_device *pdev)
/* VBUS Interrupt */ /* VBUS Interrupt */
irq_set_irq_type(INT_VBUS, IRQ_TYPE_EDGE_BOTH); irq_set_irq_type(INT_VBUS, IRQ_TYPE_EDGE_BOTH);
status = request_irq(INT_VBUS, status = request_irq(INT_VBUS,
_nbu2ss_vbus_irq, _nbu2ss_vbus_irq, IRQF_SHARED, driver_name, udc);
IRQF_SHARED,
driver_name,
udc);
if (status != 0) { if (status != 0) {
dev_err(udc->dev, "request_irq(INT_VBUS) failed\n"); dev_err(udc->dev, "request_irq(INT_VBUS) failed\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment