flashrom: use the right way to check empty array.

It tries to use the statement 'flashchips == NULL' to check whehther
the array is empty. This is not correct. The address of the address
is not NULL even it is empty.

BRANCH=none
BUG=chromium:347749
TEST=emerge-x86-generic flashrom passes.

Change-Id: I4fefdfbb3fa1fb55e99e215e4870580e82c4587d
Reviewed-on: https://chromium-review.googlesource.com/188240
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Commit-Queue: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
1 file changed