loader: use ARRAY_SIZE instead of NULL sentinel
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 2 Oct 2019 12:42:14 +0000 (13:42 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 7 Oct 2019 20:30:16 +0000 (21:30 +0100)
commitb9157ea415d9734e67678d2d5a26798d6fa03a02
tree26a050c870d52b94e5c0cd8d4fefa055179313e1
parent5be6c8959c1c8354423ca4fee2c3da4532100a5c
loader: use ARRAY_SIZE instead of NULL sentinel

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/loader/loader.c
src/loader/pci_id_driver_map.h