diff options
author | Toni Jones <toni.jones@ni.com> | 2019-02-12 15:57:11 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-08 16:17:48 -0600 |
commit | 909b434e1ee6eb3797f5c070deaadfef34f11853 (patch) | |
tree | f9a8cb06c0ba1e70e426eeb160f18da17b7c45f4 /.ci | |
parent | 5070256a0ac171759b83e188c3a2ba578e00d381 (diff) | |
download | uhd-909b434e1ee6eb3797f5c070deaadfef34f11853.tar.gz uhd-909b434e1ee6eb3797f5c070deaadfef34f11853.tar.bz2 uhd-909b434e1ee6eb3797f5c070deaadfef34f11853.zip |
mpm: Add i2c_dev lookup using sys_name
Add i2c_dev adapter device lookup which uses a the sys_name value
instead of OF_NAME to find the adapter. OF_NAME is not unique for some
i2c device nodes. The logic for finding the adapter from the parent
node was pulled into a helper function and is shared across both
lookup functions.
Co-authored-by: Michael Auchter <michael.auchter@ni.com>
Co-authored-by: Toni Jones <toni.jones@ni.com>
Diffstat (limited to '.ci')
0 files changed, 0 insertions, 0 deletions