Zepp-Hanzj opened a new pull request, #18985: URL: https://github.com/apache/nuttx/pull/18985
## Summary Fix grammatical error in `Returned Value` documentation comments across 17 driver files. The verb form was missing the past participle ending: - `successfully register` → `successfully registered` (18 occurrences) - `successfully initialize` → `successfully initialized` (1 occurrence, `ptp_clock_dummy.c`) All changes are in comment blocks only — no functional code is modified. ## Affected Files | Subsystem | File | Fix | |-----------|------|-----| | i2c | `drivers/i2c/i2c_driver.c` | register → registered | | i2s | `drivers/i2s/i2schar.c` | register → registered | | i3c | `drivers/i3c/i3c_driver.c` | register → registered | | i3c | `drivers/i3c/master.c` | register → registered | | motor | `drivers/motor/motor.c` | register → registered | | motor | `drivers/motor/stepper.c` | register → registered | | rc | `drivers/rc/lirc_dev.c` | register → registered | | sensors | `drivers/sensors/gnss_uorb.c` | register → registered | | sensors | `drivers/sensors/sensor.c` | register → registered (×2) | | spi | `drivers/spi/spi_driver.c` | register → registered | | timers | `drivers/timers/ptp_clock.c` | register → registered | | timers | `drivers/timers/ptp_clock_dummy.c` | initialize → initialized | | video | `drivers/video/mipidsi/mipi_dsi.h` | register → registered (×2) | | video | `drivers/video/mipidsi/mipi_dsi_device.c` | register → registered | | video | `drivers/video/mipidsi/mipi_dsi_device_driver.c` | register → registered | | video | `drivers/video/mipidsi/mipi_dsi_host.c` | register → registered | | video | `drivers/video/mipidsi/mipi_dsi_host_driver.c` | register → registered | ## Impact - [x] Impact on build: NO - [x] Impact on hardware: NO - [x] Impact on documentation: NO (these are source-code comments, not Sphinx docs) - [x] Impact on security: NO - [x] Impact on compatibility: NO ## Testing - `checkpatch.sh -g HEAD`: All checks pass. - All 17 changed files individually pass `checkpatch.sh -f`. - One line wrap applied in `mipi_dsi_device.c:1001` to stay within 78-column limit after the longer word. ## Self-Check - [x] PR title follows NuttX convention - [x] Commit body lists all affected files and explains the change - [x] Signed-off-by present - [x] checkpatch passes - [x] Comment-only changes, zero functional impact -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
