OSDN Git Service

modetest: Use util_open()
authorThierry Reding <treding@nvidia.com>
Wed, 9 Dec 2015 17:37:46 +0000 (18:37 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 18 Dec 2015 17:44:16 +0000 (17:44 +0000)
commitc26266fcd082a8b67d1f32f5e5351cfa82c7accb
treebf2eb069d21895ab6de12939137b4c31f45e165f
parente744b02375e939e853b4c83979f170bfc89e482c
modetest: Use util_open()

Use the new util_open() helper instead of open-coding the method for
finding a usable device.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
tests/modetest/modetest.c