summaryrefslogtreecommitdiff
path: root/tools/virtio
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2018-01-22 08:32:01 +0100
committerPeter Rosin <peda@axentia.se>2018-03-06 10:57:59 +0100
commitdde67eb1beebcd8493e7b30e74a80f0865ab7e36 (patch)
tree341372a636b8cce4fe8672c6529f1401c75255c6 /tools/virtio
parent4a3928c6f8a53fa1aed28ccba227742486e8ddcb (diff)
i2c: add i2c_get_device_id() to get the standard i2c device id
Can be used during probe to double check that the probed device is what is expected. Loosely based on code from Adrian Fiergolski <adrian.fiergolski@cern.ch>. Tested-by: Adrian Fiergolski <adrian.fiergolski@cern.ch> Reviewed-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Peter Rosin <peda@axentia.se>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions