hw/i2c: spelling fixes
authorMichael Tokarev <mjt@tls.msk.ru>
Wed, 23 Aug 2023 06:53:26 +0000 (08:53 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 31 Aug 2023 17:47:43 +0000 (19:47 +0200)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20230823065335.1919380-14-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i2c/pm_smbus.c
hw/i2c/pmbus_device.c
hw/i2c/smbus_slave.c
hw/sensor/isl_pmbus_vr.c
hw/sensor/max34451.c
include/hw/i2c/npcm7xx_smbus.h
include/hw/misc/auxbus.h

index d7eae548cbc34437bcc9f5b48d73cee683f00314..9ad6a47739b2dc7628fd560991633896bdd1ff70 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * PC SMBus implementation
- * splitted from acpi.c
+ * split from acpi.c
  *
  * Copyright (c) 2006 Fabrice Bellard
  *
index 8bc9d5108a79b362db44d4d65aa83d29bdfdab43..cef51663d0ebc9689fc6ee2138a0fc8eee1fdab1 100644 (file)
@@ -1626,7 +1626,7 @@ static int pmbus_write_data(SMBusDevice *smd, uint8_t *buf, uint8_t len)
         break;
 
 passthrough:
-    /* Unimplimented registers get passed to the device */
+    /* Unimplemented registers get passed to the device */
     default:
         if (pmdc->write_data) {
             ret = pmdc->write_data(pmdev, buf, len);
index feb3ec6333501f0d5c73851c3cf245a47e26b030..2ef2c7c5f69495464bc5965ae9b251db6425ad70 100644 (file)
@@ -2,7 +2,7 @@
  * QEMU SMBus device emulation.
  *
  * This code is a helper for SMBus device emulation.  It implements an
- * I2C device inteface and runs the SMBus protocol from the device
+ * I2C device interface and runs the SMBus protocol from the device
  * point of view and maps those to simple calls to emulate.
  *
  * Copyright (c) 2007 CodeSourcery.
index eb344dd5a9d58525c22709daac609fcee22776e9..e51269f6b83ff51309f9a93687f7170cfcc42a08 100644 (file)
@@ -101,7 +101,7 @@ static void isl_pmbus_vr_exit_reset(Object *obj)
     }
 }
 
-/* The raa228000 uses different direct mode coefficents from most isl devices */
+/* The raa228000 uses different direct mode coefficients from most isl devices */
 static void raa228000_exit_reset(Object *obj)
 {
     PMBusDevice *pmdev = PMBUS_DEVICE(obj);
index a91d8bd487c988d3c47586abcde0411f89142a0d..9db52ef6778721935dfebde8d7d7979724bd520f 100644 (file)
@@ -734,7 +734,7 @@ static void max34451_init(Object *obj)
 
     /*
      * get and set the temperature of the internal temperature sensor in
-     * centidegrees Celcius i.e.: 2500 -> 25.00 C, max is 327.67 C
+     * centidegrees Celsius i.e.: 2500 -> 25.00 C, max is 327.67 C
      */
     for (int i = 0; i < MAX34451_NUM_TEMP_DEVICES; i++) {
         object_property_add(obj, "temperature[*]", "uint16",
index 3555e6836fb316e4b6d7fc13dd14e600d099e56d..dc45963c0e7dbfc8b11a1ce44a52094ebfaf091f 100644 (file)
@@ -58,7 +58,7 @@ typedef enum NPCM7xxSMBusStatus {
  * @sclht: The SCL high time register.
  * @fif_ctl: The FIFO control register.
  * @fif_cts: The FIFO control status register.
- * @fair_per: The fair preriod register.
+ * @fair_per: The fair period register.
  * @txf_ctl: The transmit FIFO control register.
  * @t_out: The SMBus timeout register.
  * @txf_sts: The transmit FIFO status register.
index b05799d2f7a944fb667607b4326e2278f17b8a12..03cacdee426a68d04a789107e06c28721a42eaf2 100644 (file)
@@ -106,7 +106,7 @@ void aux_bus_realize(AUXBus *bus);
  *
  * Returns the reply of the request.
  *
- * @bus Ths bus where the request happen.
+ * @bus The bus where the request happen.
  * @cmd The command requested.
  * @address The 20bits address of the slave.
  * @len The length of the read or write.