i2c: Minor documentation update
The sysfs path to i2c adapters has changed recently, update the documentation to reflect that change. Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
dcffa12551
commit
03f1805ad0
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ segment, the address is sufficient to uniquely identify the device to be
|
||||||
deleted.
|
deleted.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
# echo eeprom 0x50 > /sys/class/i2c-adapter/i2c-3/new_device
|
# echo eeprom 0x50 > /sys/bus/i2c/devices/i2c-3/new_device
|
||||||
|
|
||||||
While this interface should only be used when in-kernel device declaration
|
While this interface should only be used when in-kernel device declaration
|
||||||
can't be done, there is a variety of cases where it can be helpful:
|
can't be done, there is a variety of cases where it can be helpful:
|
||||||
|
|
Loading…
Reference in a new issue