[PATCH v5 00/14] iio: fix spelling mistakes in comments

Shi Hao posted 14 patches 3 weeks ago
drivers/iio/accel/adis16201.c                          | 2 +-
drivers/iio/accel/adis16209.c                          | 2 +-
drivers/iio/adc/ti_am335x_adc.c                        | 6 +++---
drivers/iio/amplifiers/ada4250.c                       | 2 +-
drivers/iio/cdc/ad7150.c                               | 2 +-
drivers/iio/cdc/ad7746.c                               | 2 +-
drivers/iio/chemical/bme680_core.c                     | 2 +-
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c   | 2 +-
drivers/iio/common/hid-sensors/hid-sensor-attributes.c | 2 +-
drivers/iio/common/inv_sensors/inv_sensors_timestamp.c | 4 ++--
drivers/iio/common/ms_sensors/ms_sensors_i2c.c         | 2 +-
drivers/iio/imu/inv_mpu6050/inv_mpu_magn.c             | 2 +-
drivers/iio/light/Kconfig                              | 2 +-
drivers/iio/light/apds9160.c                           | 2 +-
drivers/iio/light/ltr390.c                             | 2 +-
drivers/iio/light/opt3001.c                            | 2 +-
drivers/iio/light/tsl2772.c                            | 2 +-
drivers/iio/magnetometer/ak8974.c                      | 2 +-
drivers/iio/magnetometer/ak8975.c                      | 6 +++---
drivers/iio/magnetometer/yamaha-yas530.c               | 2 +-
drivers/iio/pressure/bmp280-spi.c                      | 2 +-
drivers/iio/pressure/hsc030pa.c                        | 2 +-
drivers/iio/pressure/rohm-bm1390.c                     | 2 +-
drivers/iio/pressure/zpa2326.c                         | 2 +-
drivers/iio/proximity/sx9324.c                         | 2 +-
drivers/iio/resolver/ad2s1210.c                        | 2 +-
drivers/iio/temperature/ltc2983.c                      | 4 ++--
drivers/iio/test/iio-test-gts.c                        | 2 +-
28 files changed, 34 insertions(+), 34 deletions(-)
[PATCH v5 00/14] iio: fix spelling mistakes in comments
Posted by Shi Hao 3 weeks ago
This series fixes spelling mistakes in comments across several IIO
subsystems to improve readability and code consistency.

v5:

- Rebased on linux-next
- Dropped patches already fixed upstream
- Added 8 additional patches to previous 6-patch series
- Rephrased several patches for clarity and grammar
- Added missing article where needed
- Improved commit messages for clarity

v4: https://lore.kernel.org/linux-iio/20260311093933.21333-1/

- Fix commit message grammar and punctuation across patches
- Keep 'whilst' instead of 'while'
- Rephrase sentence in chemical driver comment
- Capitalize IIO in comments

v3: https://lore.kernel.org/linux-iio/20260309104513.40359-1

- Change commit subjects as per changes
- Capitalize proper acronyms (IRQ) and Celsius
- Fix short wrap in commit body

v2: https://lore.kernel.org/linux-iio/20260307104705.49129-1

- Split original patch into 6 commits
- Fixed commit message formatting and typos
- Added necessary tags in commits
- Added more fixes than previous

Shi Hao (14):
  iio: accel: fix typo celcius to Celsius
  iio: light: fix several incorrect spellings
  iio: adc: add an article and use digitize instead of digitalize
  iio: imu: fix typo from adjustement to adjustment
  iio: magnetometer: fix various spelling mistakes
  iio: pressure: fix spelling mistakes in comments
  iio: proximity: fix typo from currenly to currently
  iio: resolver: fix typo from degredation to degradation
  iio: temp: fix spelling mistakes in comments
  iio: test: fix typo from neeeds to needs in comment
  iio: common: fix spelling mistakes in comments
  iio: chemical: rephrase comment and fix a typo
  iio: cdc: fix spelling mistakes in comments
  iio: amplifiers: fix typo from Curren to Current

 drivers/iio/accel/adis16201.c                          | 2 +-
 drivers/iio/accel/adis16209.c                          | 2 +-
 drivers/iio/adc/ti_am335x_adc.c                        | 6 +++---
 drivers/iio/amplifiers/ada4250.c                       | 2 +-
 drivers/iio/cdc/ad7150.c                               | 2 +-
 drivers/iio/cdc/ad7746.c                               | 2 +-
 drivers/iio/chemical/bme680_core.c                     | 2 +-
 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c   | 2 +-
 drivers/iio/common/hid-sensors/hid-sensor-attributes.c | 2 +-
 drivers/iio/common/inv_sensors/inv_sensors_timestamp.c | 4 ++--
 drivers/iio/common/ms_sensors/ms_sensors_i2c.c         | 2 +-
 drivers/iio/imu/inv_mpu6050/inv_mpu_magn.c             | 2 +-
 drivers/iio/light/Kconfig                              | 2 +-
 drivers/iio/light/apds9160.c                           | 2 +-
 drivers/iio/light/ltr390.c                             | 2 +-
 drivers/iio/light/opt3001.c                            | 2 +-
 drivers/iio/light/tsl2772.c                            | 2 +-
 drivers/iio/magnetometer/ak8974.c                      | 2 +-
 drivers/iio/magnetometer/ak8975.c                      | 6 +++---
 drivers/iio/magnetometer/yamaha-yas530.c               | 2 +-
 drivers/iio/pressure/bmp280-spi.c                      | 2 +-
 drivers/iio/pressure/hsc030pa.c                        | 2 +-
 drivers/iio/pressure/rohm-bm1390.c                     | 2 +-
 drivers/iio/pressure/zpa2326.c                         | 2 +-
 drivers/iio/proximity/sx9324.c                         | 2 +-
 drivers/iio/resolver/ad2s1210.c                        | 2 +-
 drivers/iio/temperature/ltc2983.c                      | 4 ++--
 drivers/iio/test/iio-test-gts.c                        | 2 +-
 28 files changed, 34 insertions(+), 34 deletions(-)

--
2.53.0
Re: [PATCH v5 00/14] iio: fix spelling mistakes in comments
Posted by Andy Shevchenko 3 weeks ago
On Mon, Mar 16, 2026 at 02:30:08PM +0530, Shi Hao wrote:
> This series fixes spelling mistakes in comments across several IIO
> subsystems to improve readability and code consistency.
> 
> v5:
> 
> - Rebased on linux-next
> - Dropped patches already fixed upstream
> - Added 8 additional patches to previous 6-patch series
> - Rephrased several patches for clarity and grammar
> - Added missing article where needed
> - Improved commit messages for clarity
> 
> v4: https://lore.kernel.org/linux-iio/20260311093933.21333-1/

This URL is wrong as well as other references here.

> - Fix commit message grammar and punctuation across patches
> - Keep 'whilst' instead of 'while'
> - Rephrase sentence in chemical driver comment
> - Capitalize IIO in comments
> 
> v3: https://lore.kernel.org/linux-iio/20260309104513.40359-1
> 
> - Change commit subjects as per changes
> - Capitalize proper acronyms (IRQ) and Celsius
> - Fix short wrap in commit body
> 
> v2: https://lore.kernel.org/linux-iio/20260307104705.49129-1
> 
> - Split original patch into 6 commits
> - Fixed commit message formatting and typos
> - Added necessary tags in commits
> - Added more fixes than previous

-- 
With Best Regards,
Andy Shevchenko
Re: [PATCH v5 00/14] iio: fix spelling mistakes in comments
Posted by Jonathan Cameron 2 weeks, 2 days ago
On Mon, 16 Mar 2026 17:00:57 +0200
Andy Shevchenko <andriy.shevchenko@intel.com> wrote:

> On Mon, Mar 16, 2026 at 02:30:08PM +0530, Shi Hao wrote:
> > This series fixes spelling mistakes in comments across several IIO
> > subsystems to improve readability and code consistency.
> > 
> > v5:
> > 
> > - Rebased on linux-next
> > - Dropped patches already fixed upstream
> > - Added 8 additional patches to previous 6-patch series
> > - Rephrased several patches for clarity and grammar
> > - Added missing article where needed
> > - Improved commit messages for clarity
> > 
> > v4: https://lore.kernel.org/linux-iio/20260311093933.21333-1/  
> 
> This URL is wrong as well as other references here.

Oddly of this whole set only patch 10 applied with out having to fall back
to the slightly fuzzier logic patch uses compared to git am

I'm not sure what caused it but Shi Hao, see if you can save
these patches an apply them with git am. Then figure out why not?
If that works try b4 am  to pull them down and figure out what is going
wrong.

Applying by hand takes a while as I've not scripted it, so I'm keen
whatever went wrong here doesn't reoccur!

The resulting patches look fine to me on my tree.

thanks,

Jonathan

> 
> > - Fix commit message grammar and punctuation across patches
> > - Keep 'whilst' instead of 'while'
> > - Rephrase sentence in chemical driver comment
> > - Capitalize IIO in comments
> > 
> > v3: https://lore.kernel.org/linux-iio/20260309104513.40359-1
> > 
> > - Change commit subjects as per changes
> > - Capitalize proper acronyms (IRQ) and Celsius
> > - Fix short wrap in commit body
> > 
> > v2: https://lore.kernel.org/linux-iio/20260307104705.49129-1
> > 
> > - Split original patch into 6 commits
> > - Fixed commit message formatting and typos
> > - Added necessary tags in commits
> > - Added more fixes than previous  
>
Re: [PATCH v5 00/14] iio: fix spelling mistakes in comments
Posted by ShiHao 1 week, 4 days ago
On Sat, Mar 21, 2026 at 07:32:17PM +0000, Jonathan Cameron wrote:
 
> Oddly of this whole set only patch 10 applied with out having to fall back
> to the slightly fuzzier logic patch uses compared to git am
> 
> I'm not sure what caused it but Shi Hao, see if you can save
> these patches an apply them with git am. Then figure out why not?
> If that works try b4 am  to pull them down and figure out what is going
> wrong.
> 
> Applying by hand takes a while as I've not scripted it, so I'm keen
> whatever went wrong here doesn't reoccur!
> 
> The resulting patches look fine to me on my tree.

Hello Jonathan,

Well sorry for the inconvenience, I checked them and the problem is
coming because i ran scripts/cleanfile and scripts/cleanpatch on 
generated patches which is causing the error "corrupt patch at line n"
when using git am, otherwise git am is working fine with no errors.
Thanks for pointing it out i will make sure to be aware of this from
now on. Also please let me know if i need to send another version.

Best regards,
Shihao