Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] I2C: fix typo in documentation

Fix a typo in the i2c documentation: the i2c bus scanning tool found in
lm_sensors is called i2cdetect, not i2c_detect.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Jean Delvare and committed by
Greg Kroah-Hartman
014e4538 48edcb65

+1 -1
+1 -1
Documentation/i2c/functionality
··· 115 115 If you try to access an adapter from a userspace program, you will have 116 116 to use the /dev interface. You will still have to check whether the 117 117 functionality you need is supported, of course. This is done using 118 - the I2C_FUNCS ioctl. An example, adapted from the lm_sensors i2c_detect 118 + the I2C_FUNCS ioctl. An example, adapted from the lm_sensors i2cdetect 119 119 program, is below: 120 120 121 121 int file;