[11/35] Documentation: i2c: correct spelling

Message ID 20230127064005.1558-12-rdunlap@infradead.org
State New
Headers
Series Documentation: correct lots of spelling errors (series 1) |

Commit Message

Randy Dunlap Jan. 27, 2023, 6:39 a.m. UTC
  Correct spelling problems for Documentation/i2c/ as reported
by codespell.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Wolfram Sang <wsa@kernel.org>
Cc: linux-i2c@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
---
 Documentation/i2c/gpio-fault-injection.rst |    2 +-
 Documentation/i2c/smbus-protocol.rst       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Wolfram Sang Jan. 27, 2023, 7:14 a.m. UTC | #1
> -  client->irq assigned to a Host Notify IRQ if noone else specified an other.
> +  client->irq assigned to a Host Notify IRQ if no one else specified an other.

I am not a native speaker, but shouldn't the last word be "another"?
  
Bagas Sanjaya Jan. 27, 2023, 8:26 a.m. UTC | #2
On Fri, Jan 27, 2023 at 08:14:46AM +0100, Wolfram Sang wrote:
> 
> > -  client->irq assigned to a Host Notify IRQ if noone else specified an other.
> > +  client->irq assigned to a Host Notify IRQ if no one else specified an other.
> 
> I am not a native speaker, but shouldn't the last word be "another"?
> 

Yes, the sentence should have been "... if no one else specified
another."

Thanks.
  
Randy Dunlap Jan. 27, 2023, 10:34 p.m. UTC | #3
On 1/26/23 23:14, Wolfram Sang wrote:
> 
>> -  client->irq assigned to a Host Notify IRQ if noone else specified an other.
>> +  client->irq assigned to a Host Notify IRQ if no one else specified an other.
> 
> I am not a native speaker, but shouldn't the last word be "another"?
> 

Yes, I'll correct that. Thanks.
  

Patch

diff -- a/Documentation/i2c/gpio-fault-injection.rst b/Documentation/i2c/gpio-fault-injection.rst
--- a/Documentation/i2c/gpio-fault-injection.rst
+++ b/Documentation/i2c/gpio-fault-injection.rst
@@ -93,7 +93,7 @@  bus arbitration against another master i
 ------------------
 
 This file is write only and you need to write the duration of the arbitration
-intereference (in µs, maximum is 100ms). The calling process will then sleep
+interference (in µs, maximum is 100ms). The calling process will then sleep
 and wait for the next bus clock. The process is interruptible, though.
 
 Arbitration lost is achieved by waiting for SCL going down by the master under
diff -- a/Documentation/i2c/smbus-protocol.rst b/Documentation/i2c/smbus-protocol.rst
--- a/Documentation/i2c/smbus-protocol.rst
+++ b/Documentation/i2c/smbus-protocol.rst
@@ -238,7 +238,7 @@  This is implemented in the following way
 * I2C bus drivers trigger SMBus Host Notify by a call to
   i2c_handle_smbus_host_notify().
 * I2C drivers for devices which can trigger SMBus Host Notify will have
-  client->irq assigned to a Host Notify IRQ if noone else specified an other.
+  client->irq assigned to a Host Notify IRQ if no one else specified an other.
 
 There is currently no way to retrieve the data parameter from the client.