KVM: arm64: vgic-its: Turn device_id validation into generic ID validation
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 17 Jul 2016 20:52:55 +0000 (21:52 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:15:19 +0000 (18:15 +0100)
commit6d03a68f8054430cba28e49d9e46c1cd4db39a70
tree02befdebe755a1039ae8c7d69965e2caa8371b18
parentbb7176449f6da27534a0faf3a67997bf2c3172aa
KVM: arm64: vgic-its: Turn device_id validation into generic ID validation

There is no need to have separate functions to validate devices
and collections, as the architecture doesn't really distinguish the
two, and they are supposed to be managed the same way.

Let's turn the DevID checker into a generic one.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-its.c