1
0
Fork 0

Doc: i2c: Fix typo in Documentation/i2c

This path fix spelling typos found in Documentation/i2c.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
hifive-unleashed-5.1
Masanari Iida 2016-02-02 20:41:25 +09:00 committed by Jonathan Corbet
parent abaa5c23d5
commit 2e049d6132
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ the /dev interface. You need to load module i2c-dev for this.
Each registered i2c adapter gets a number, counting from 0. You can Each registered i2c adapter gets a number, counting from 0. You can
examine /sys/class/i2c-dev/ to see what number corresponds to which adapter. examine /sys/class/i2c-dev/ to see what number corresponds to which adapter.
Alternatively, you can run "i2cdetect -l" to obtain a formated list of all Alternatively, you can run "i2cdetect -l" to obtain a formatted list of all
i2c adapters present on your system at a given time. i2cdetect is part of i2c adapters present on your system at a given time. i2cdetect is part of
the i2c-tools package. the i2c-tools package.

View File

@ -7,8 +7,8 @@ This is a proof-of-concept backend which acts like an EEPROM on the connected
I2C bus. The memory contents can be modified from userspace via this file I2C bus. The memory contents can be modified from userspace via this file
located in sysfs: located in sysfs:
/sys/bus/i2c/devices/<device-direcory>/slave-eeprom /sys/bus/i2c/devices/<device-directory>/slave-eeprom
As of 2015, Linux doesn't support poll on binary sysfs files, so there is no As of 2015, Linux doesn't support poll on binary sysfs files, so there is no
notfication when another master changed the content. notification when another master changed the content.