1
0
Fork 0

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: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Laura Garcia Liebana 2016-02-14 14:10:11 +01:00 committed by Greg Kroah-Hartman
parent 8cce78a73f
commit 76ee538178
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ static void xlr_resource_init(struct resource *res, int offset, int irq)
res++;
res->name = "gmac";
res->start = res->end = irq;
res->start = irq;
res->end = irq;
res->flags = IORESOURCE_IRQ;
}