projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcffa12
)
i2c: Minor documentation update
author
Jean Delvare
<khali@linux-fr.org>
Sun, 4 Oct 2009 20:53:45 +0000
(22:53 +0200)
committer
Jean Delvare
<khali@linux-fr.org>
Sun, 4 Oct 2009 20:53:45 +0000
(22:53 +0200)
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>
Documentation/i2c/instantiating-devices
patch
|
blob
|
history
diff --git
a/Documentation/i2c/instantiating-devices
b/Documentation/i2c/instantiating-devices
index c740b7b410881a72f41256220c03b83c4796d523..e89490270abad1ece6f8003b16ac815490f8de17 100644
(file)
--- a/
Documentation/i2c/instantiating-devices
+++ b/
Documentation/i2c/instantiating-devices
@@
-188,7
+188,7
@@
segment, the address is sufficient to uniquely identify the device to be
deleted.
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
can't be done, there is a variety of cases where it can be helpful: