diff options
author | Cengiz C | 2017-12-12 17:43:09 +0100 |
---|---|---|
committer | Jonathan Corbet | 2017-12-21 21:39:30 +0100 |
commit | 91b28aeb17ce13065d745a1f92c95011c10ba75a (patch) | |
tree | 426ec7d073a1ff2ed0b75ca5b3ae77af8550874f /lib/vsprintf.c | |
parent | usb: doc: Update document for USB3 debug port usage (diff) | |
download | kernel-qcow2-linux-91b28aeb17ce13065d745a1f92c95011c10ba75a.tar.gz kernel-qcow2-linux-91b28aeb17ce13065d745a1f92c95011c10ba75a.tar.xz kernel-qcow2-linux-91b28aeb17ce13065d745a1f92c95011c10ba75a.zip |
i2c: update i2c-dev.h warning in documentation
`Documentation/i2c/dev-interface` gives examples for accessing i2c from
userspace.
There's a note that warns developers about the two `i2c-dev.h` header
files which were shipped with the kernel and i2c-tools separately.
However, following i2c-tools commits suggest that the header files are now
identical (in functionality) and `i2c_*` helper functions are now defined
in a separate header called `i2c/smbus.h`, which is distributed with
i2c-tools:
commit 652619121974 ("Minimize differences with kernel flavor")
commit 93caf007f4cb ("Move SMBus helper functions to include/i2c/smbus.h")
Thus, I've converted the warning paragraph into a historical note and
updated the suggested header files.
Signed-off-by: Cengiz Can <cengizc@gmail.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions