Skip to content
Commit e744b023 authored by Thierry Reding's avatar Thierry Reding Committed by Emil Velikov
Browse files

tests: Add helper to open a device/module



The new function util_open() encapsulates the standard method employed
by tests to open a device or module. There is a verbatim copy of this in
almost all test programs, with slight variations in the list of modules.
Moving this code into a common helper allows code reuse and makes tests
more consistent.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 89cca28d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment