drmmode: use prop_id == 0 as the "unset" value

For all DRM objects, including properties, '0' is an invalid id.
Using 0 as the unset value is more consistent with other DRM object ID
checks, and also lets us use the proper type (uint32_t) for the id.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>

BUG=chromium:370411
TEST=builds clean; sanity check ui

Change-Id: Icadc17ca07c6599c5a1ae7eb337291c1bb48c792
Reviewed-on: https://chromium-review.googlesource.com/198387
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Commit-Queue: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
1 file changed