Commit 76ee5381 authored by Laura Garcia Liebana's avatar Laura Garcia Liebana Committed by Greg Kroah-Hartman

staging: netlogic: Fix multiple irq assignments in a single line

Avoid the use of multiple assignments in a single line. Checkpatch
found this issue.
Signed-off-by: default avatarLaura Garcia Liebana <nevola@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8cce78a7
...@@ -86,7 +86,8 @@ static void xlr_resource_init(struct resource *res, int offset, int irq) ...@@ -86,7 +86,8 @@ static void xlr_resource_init(struct resource *res, int offset, int irq)
res++; res++;
res->name = "gmac"; res->name = "gmac";
res->start = res->end = irq; res->start = irq;
res->end = irq;
res->flags = IORESOURCE_IRQ; res->flags = IORESOURCE_IRQ;
} }
......
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