kvm tools: irq: rename irq__register_device to irq__alloc_line

Since irq__register_device no longer registers a device with anything,
rename it to irq__alloc_line, which better describes what is actually
going on.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Will Deacon
2014-02-04 16:53:59 +00:00
parent 7f542b0f39
commit 1178dd4db3
9 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ static int irq__add_routing(u32 gsi, u32 type, u32 irqchip, u32 pin)
return 0;
}
int irq__register_device(void)
int irq__alloc_line(void)
{
return next_line++;
}